Skip to main content

math.IsNaN

Check if value is Not-a-Number

math.IsNaN(x: float64) -> bool

Arguments

NameType
xfloat64

Example

{{ math.IsNaN(0/0) }}

Returns true.