Skip to content

[F] isErrorModel

function isErrorModel(program, target): boolean

Check if the type is an error model or a descendant of an error model.

Parameters

ParameterType
programProgram
targetType

Returns

boolean