Files
MagicSetEditor2/doc/function/exists_in_package.txt
T
GenevensiS e72ee85525 Add exists_in_package script function (#86)
* add exists_in_package script function

* Update index.txt
2024-09-26 22:03:27 -04:00

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