QuizAdvanced
Assertion Functions
Using the asserts keyword to narrow types via runtime checks.
What does `function assert(cond: unknown): asserts cond` do?
Using the asserts keyword to narrow types via runtime checks.
What does `function assert(cond: unknown): asserts cond` do?