日本語
Appearance
引数の!を返します。falsy 値が渡された場合はtrueを返し、truthy 値が渡された場合はfalseを返します。
!
true
false
Signature:
declare function not(a: unknown): boolean;
not(true); // false not(1); // false not(NaN); // true
Try It
Open Source Code