Function
assertTrue < T > ( test: T , message: string ) : void
Throws an error if the supplied test is false.
T
test
message