Data connectivity & integrationPipeline Builder ExpressionsIs NaN

Is NaN

Supported in: Batch, Streaming

Returns true if the input is nan, false otherwise.

Expression categories: Boolean

Declared arguments

  • Expression - The expression checks is the numerical expression is nan.
    Expression<Double | Float>

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Expression: NaN

Output: true


Example 2: Base case

Argument values:

  • Expression: 12.57

Output: false


Example 3: Null case

Argument values:

  • Expression: null

Output: false


Example 4: Edge case

Argument values:

  • Expression: numbers
numbersOutput
NaNtrue