const isNil: (val) => val is null = isNull
const
val
val is null
isNull
Checks if the given value is null.
unknown
The value to check.
Returns true if the value is null, false otherwise.