Expression functionsValidationmath.IsInfOn this pagemath.IsInfCheck if value is infinite (sign: 1=+inf, -1=-inf, 0=either) math.IsInf(x: float64, sign: int) -> bool Arguments NameTypexfloat64signint Example {{ math.IsInf(1/0, 1) }} Returns true.