Calls the .testError method of type or falls back to an implementation derived from .test.
.testError
type
.test
The type used for the test.
The value to match.
Undefined if the value matches, otherwise an Error instance.
Error
Generated using TypeDoc
Calls the
.testError
method oftype
or falls back to an implementation derived from.test
.