mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Add exists_in_package script function (#86)
* add exists_in_package script function * Update index.txt
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user