XFA Specification
Chapter 23, FormCalc Specification
Logical Built-in Functions
867
Exists()
Determines if the given parameter is an accessor to an existing object.
Syntax
Exists(v1)
Parameters
v1
is the accessor.
Returns
True (1) if the given parameter is an accessor to (a property of ) an object that exists, and false (0), if it does
not.
If the given parameter is not an accessor, the function returns false (0).
Examples
Exists(Item)
returns true (1) if the object
Item
exists, false (0) otherwise.
Exists("hello world")
returns false (0) — the string is not an accessor.
Exists(Invoice.Border.Edge[1].Color)
returns true (1) if the object
Invoice
exists and has a
Border
property, which in turn, has at least one
Edge
property, which in turn, has a
Color
property. Otherwise, it returns false (0).
Home Index Bookmark Pages
Pages: Home Index All Pages