mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
e72ee85525
* add exists_in_package script function * Update index.txt
14 lines
361 B
Plaintext
14 lines
361 B
Plaintext
Function: exists_in_package
|
|
|
|
--Usage--
|
|
> exists_in_package("/package/filename")
|
|
|
|
Check if a file exists in a given package.
|
|
|
|
--Parameters--
|
|
! Parameter Type Description
|
|
| @input@ [[type:string]] Path of the file, starting from the data directory.
|
|
|
|
--Examples--
|
|
> exists_in_package("/magic-modules.mse-include/watermarks/custom_user_watermark.png") == true
|