Skip to content

Welshman Docs / @welshman/lib / not

Function: not() ​

not(x, ...args): boolean

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

Returns the logical NOT of a value

Parameters ​

x ​

any

Value to negate

args ​

...unknown[]

Returns ​

boolean

!x