[F] isErrorType
function isErrorType(type): type is ErrorType;Check for the compiler’s error-recovery type, not a model decorated with @error.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | Entity |
Returns
Section titled “Returns”type is ErrorType