Berserk Docs
Scalar FunctionsMath Functions

isnan

Returns whether the input is NaN (Not a Number).

Syntax

isnan(x)

Parameters

Prop

Type

Returns: bool

Examples

Example 1

print isnan(0.0 / 0.0)
print_0 (bool)
true

On this page