is_nan()


bool is_nan ( float $val )

Description

is_nan() checks whether $val is ‘not a number’, like the result of acos(1.01)

※ available F/W version : all

Parameters

Return values

TRUE if $val is 'not a number', FALSE otherwise

See also

is_finite() / is_infinite()

Remarks

This function is identical to the PHP group’s is_nan().