isinfinite( number )
Tests given numbers against positive and negative infinity, returning true
if the number is infinite, false
if the number is not infinite.
Keyword | Type | Description |
---|---|---|
|
Number (Decimal) |
Number to test against infinity. |
Boolean
1
isinfinite(100)
Returns false
.
1
isinfinite(2147483646)
Returns false
.
1
isinfinite(2147483647)
Returns true
. 2147483647
is the maximum integer value for a signed 32-bit integer.
1
isinfinite(234, -40, -9999, -2147483647)
Returns {false, false, false, true}
.
1
isinfinite({234, -40, -2147483647})
Returns {false, false, true}
.
1
isinfinite({{234, -40, -2147483647}, {234, 0}}, {}, {12})
Returns {false, false, true, false, false, false}
. Lists of values are flattened and empty lists are ignored.
1
isinfinite({dictionaryKey: -129384}.dictionaryKey)
Returns false
.
1
isinfinite(a!map(mapKey: 12312312312323).mapKey)
Returns true
.
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 |
isinfinite() Function