function isNone isNone(thing: unknown): thing is null | undefined Returns true if the given value is null or undefined. Examples Example 1 isNone(null); // true isNone(undefined); // true isNone(true); // false isNone(0); // false Parameters thing: unknown Return Type thing is null | undefined