saxon:is-NaN

Returns true if the value of the argument is NaN.

is-NaN($input as xs:anyAtomicType) ➔ xs:boolean

Arguments

 

$input

xs:anyAtomicType

The supplied value

Result

xs:boolean

Namespace

http://saxon.sf.net/

Saxon availability

Requires Saxon-PE or Saxon-EE. Implemented since Saxon 10.

Notes on the Saxon implementation

Available since Saxon 10.

Details

This function takes as input a single atomic value, and returns true if the value is the xs:double or xs:float value NaN.

For example, the call saxon:is-NaN(number("N/A")) returns true.