FunctionCopy link to clipboard
isinfinite( number )
Tests given numbers against positive and negative infinity, returning true
if the number is infinite, false
if the number is not infinite.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Number (Decimal) |
Number to test against infinity. |
ReturnsCopy link to clipboard
Boolean
ExamplesCopy link to clipboard
Checking for infinityCopy link to clipboard
1
isinfinite(100)
Copy
Returns false
.
1
isinfinite(2147483646)
Copy
Returns false
.
1
isinfinite(2147483647)
Copy
Returns true
. 2147483647
is the maximum integer value for a signed 32-bit integer.
Checking for infinity on multiple valuesCopy link to clipboard
1
isinfinite(234, -40, -9999, -2147483647)
Copy
Returns {false, false, false, true}
.
1
isinfinite({234, -40, -2147483647})
Copy
Returns {false, false, true}
.
1
isinfinite({{234, -40, -2147483647}, {234, 0}}, {}, {12})
Copy
Returns {false, false, true, false, false, false}
. Lists of values are flattened and empty lists are ignored.
Checking for infinity in a dictionaryCopy link to clipboard
1
isinfinite({dictionaryKey: -129384}.dictionaryKey)
Copy
Returns false
.
Checking for infinity in a map or CDTCopy link to clipboard
1
isinfinite(a!map(mapKey: 12312312312323).mapKey)
Copy
Returns true
.
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
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 | |
Process Autoscaling | Compatible |
FeedbackCopy link to clipboard
Was this page helpful?