The specific Error type thrown by assertions.
Asserts that a condition is true. Throws an exception if it's not.
As assert, but isn't skipped in production.
Assert that a type is never when type checking. Throws an
unreachable exception if it's reached at runtime. This is meant as an
exhaustiveness check.
Tests whether a value is an AsyncIterable.
Tests whether a value is null, undefined, false, an empty array or an
empty string.
Tests whether a value is an Iterable.
Tests whether a value is null or undefined.
Returns the given value unchanged if it's neither null nor undefined.
Throws an exception otherwise.
Throws an exception used to mark unreachable code.
Assertions and predicates.