Skip to content

Welshman Docs / @welshman/lib / lte

Function: lte() ​

lte(x, y): boolean

Defined in: packages/lib/src/Tools.ts:140

Less than or equal comparison, handling undefined values

Parameters ​

x ​

undefined | number

y ​

undefined | number

Returns ​

boolean