Asserts that a value is present, narrowing away null and undefined.
Other falsy values such as 0 and "" pass.
Value that must not be null or undefined.
Optionalmessage: stringOptional error message when the assertion fails. Defaults to "Assertion failed".
Asserts that a boolean is
true, narrowing the type after the assertion.