x/30_seconds_of_typescript/docs/not.md
Returns the logical inverse of the given value.
Use the logical not (!) operator to return the inverse of the given value.
!
const not = (a: any) => !a;
not(true); // false not(false); // true