isnan Reference

Return 1 if input is NaN (Not a Number), else return zero.

isnan

Examples

Inlets

NaN Input [number]

The value to be tested for NaN errors

Outlets

Output [number]

Returns 1 if input is NaN

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

The value to be tested for NaN errors

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
fixnan Replace NaN (Not a Number) values with zero.
mod Divide two values, output the remainder
div Divide inputs