Type Alias IsLessThan1<N>

IsLessThan1: N extends unknown ? IfExtends<N, 0, true, IsNegative<N>> : never

Checks if a number is zero or includes the negative sign.

Type Parameters

  • N extends number