Returns a boolean for whether a given number is less than another number.
import type {LessThan} from 'type-fest';type A = LessThan<1, -5>;//=> falsetype B = LessThan<1, 1>;//=> falsetype C = LessThan<1, 5>;//=> true Copy
import type {LessThan} from 'type-fest';type A = LessThan<1, -5>;//=> falsetype B = LessThan<1, 1>;//=> falsetype C = LessThan<1, 5>;//=> true
Returns a boolean for whether a given number is less than another number.