there is a | ||||||||||||||||
Type | operator | |||||||||||||||
Dictionary | LCS | |||||||||||||||
Library | LiveCode Script | |||||||||||||||
Syntax |
| |||||||||||||||
Synonyms | there is an | |||||||||||||||
Summary | Evaluates to true if the specified object, file, folder, or process exists, false otherwise. | |||||||||||||||
Introduced | 1.0 | |||||||||||||||
OS | mac, windows, linux, ios, android | |||||||||||||||
Platforms | desktop, server, mobile | |||||||||||||||
Parameters |
| |||||||||||||||
Example |
| |||||||||||||||
Related | Property: stackFiles, mode Operator: there is no Keyword: file Object: stack Function: exists Glossary: property, loaded into memory, operator, precedence, folder, evaluate, process, object Control Structure: function | |||||||||||||||
Security | disk, process | |||||||||||||||
Description | Use the there is a operator to make sure an object or file exists before working with it, or to find out whether there are any objects of a specified type. The there is a operator is the logical inverse of the there is no operator. When one is true, the other is false. The expression there is a stack stackName evaluates to true if the stack is open, if it is closed but loaded into memory, or if it appears in the stackFiles property of any open stack.
| |||||||||||||||
Tags | file system |