# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
exists(object)
# Params
- object : Any object reference.
# Examples
exists(card field 1)
exists(button "OK" of card "Preferences")
# Description
Use the exists function to make sure an object exists before you try to perform an action on it, or to determine whether to create an object.
To find out whether any of a certain type of object exist, use the exists function with the number 1. For example, exists(image 1) returns true if there are any images on the current card, and false otherwise.
You can also specify a chunk of a container, but in this case the exists function always returns true.
>*Tip:* To find out whether a file or folder exists, or whether a > process is running, use the there is a operator.
# Tags
# See
- **property:** owner - **operator:** there is a, there is no - **keyword:** file - **object:** image - **function:** isNumber - **glossary:** folder, current card, return, process, object - **control structure:** function