Nan (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.2-dev32d

Syntax

NaN [value]

Description

A number representing an undefined value. NaN occurs as a result of illegal math, like dividing 0 by 0. NaN is deliberately not equal to any other number, including itself.

Examples

if {_number} is not {_number}:
if isNaN({_number}) is true:

View source