Free cookie consent management tool by TermsFeed

isinfinite() Function

Function

isinfinite( number )

Tests given numbers against positive and negative infinity, returning true if the number is infinite, false if the number is not infinite.

Parameters

Keyword Type Description

number

Number (Decimal)

Number to test against infinity.

Returns

Boolean

Examples

Checking for infinity

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.

Checking for infinity on multiple values

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.

Checking for infinity in a dictionary

1
isinfinite({dictionaryKey: -129384}.dictionaryKey)

Returns false.

Checking for infinity in a map or CDT

1
isinfinite(a!map(mapKey: 12312312312323).mapKey)

Returns true.

Feature compatibility

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

Feedback