Optional message: stringUseful at the top of functions to ensure certain conditions, arguments and properties are set/met before continuing. When using this function, TypeScript will narrow away falsy types from the condition.
Generated using TypeDoc
Asserts a condition is truthy, otherwise throws an error