Type asserts that t is truthy. Throws an error if t is null or undefined.
t
The variable name to include in the error to throw when t is empty. Defaults to 'value'.
Type asserts that
t
is truthy. Throws an error ift
is null or undefined.