false( returns )
Returns the Boolean value false
.
See also:
false()
function; returns the boolean value true
.Keyword | Type | Description |
---|---|---|
|
Boolean |
Returns the boolean value |
Boolean
Using the false()
function is equivalent to using false
(without calling the function) in any expression. If calling the false()
function with parentheses, any parameters provided to the function are ignored.
An easy way to check if a value is either null or true is to make a comparison to false using the <>
operator. For example, the following expressions result in the same outcome:
local!value <> false()
or(local!value = true(), a!isNullOrEmpty(local!value))
1
false()
Returns false
.
1
2
3
4
5
6
7
8
9
10
a!localVariables(
local!user1Active: false(),
local!user2Active: false(),
local!user3Active: true(),
and(
local!user1Active,
local!user2Active,
local!user3Active
)
)
Returns false
because not all of the users are currently active.
Paste the following example into an interface to test the expression.
1
2
3
4
5
6
7
8
9
10
11
12
a!boxLayout(
label: "Box",
contents: {
a!textField(
value: "Test",
readOnly: true()
)
},
isCollapsible: false(),
showBorder: false(),
showShadow: false()
)
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Compatible | |
Process Events | Compatible |
false() Function