exists
exists(
@path ## symbol (required)
) -> int
Checks if a file or folder exists. Returns 1 if true or 0 if false.
Arguments
@path[symbol]: File or folder path. (required)
Output
1 if true, 0 if false. [int]
Usage
$path = '~/Documents/';
$result = exists($path);
print(
if $result then 'Yes' else 'No', 'Does ' + $path + ' exist?'
)