Assert a condition that must hold. Narrows the type of condition for the TypeScript compiler when it survives the call.
condition
Assert a condition that must hold. Narrows the type of
conditionfor the TypeScript compiler when it survives the call.