Appearance
Identifies if a value is null.
/** * @param val - The value. * @returns If the value is null. */ function isNull(val: unknown): val is null