isinf ("is infinite") function

Syntax

bool   isinf(value)

bool[] isinf(values)

Parameters

Returns

true if value is infinite, false otherwise.

For an array values a new array is returned containing the result of each element.

Related

Examples

isinf(1)
# result = false

isinf(1/0)
# result = true

isinf(ln(0))
# result = true

isinf([1, 1/0])
# result = [false, true]

Copyright ©2008-2023 Esri R&D Center Zurich. All rights reserved.