Determines if x represents infinity. This operation is silent, no error flags are set and no exceptions are thrown.
a _decimal value
true if x is infinite, false otherwise (NaN or any finite value)
assert(isInfinity(decimal32.infinity)); assert(isInfinity(-decimal64.infinity)); assert(!isInfinity(decimal128.nan));
See Implementation
Determines if x represents infinity. This operation is silent, no error flags are set and no exceptions are thrown.