Asserts that a strictly equals b, narrowing the type of a to T.
a
b
T
The value to check.
The expected value.
Optional
Optional custom error message.
Asserts that
astrictly equalsb, narrowing the type ofatoT.