Skip to content

[F] isErrorType

function isErrorType(type): type is ErrorType;

Check for the compiler’s error-recovery type, not a model decorated with @error.

ParameterType
typeEntity

type is ErrorType