Create a new PredicateType instance.
The identifier name which is tested by the predicate.
True if the type is of the form asserts val is string
,
false if the type is of the form val is string
Optional
targetType: Models.SomeTypeThe type that the identifier is tested to be.
May be undefined if the type is of the form asserts val
.
Will be defined if the type is of the form asserts val is string
or val is string
.
True if the type is of the form asserts val is string
,
false if the type is of the form val is string
The identifier name which is tested by the predicate.
Readonly
typeThe type name identifier.
Optional
targetThe type that the identifier is tested to be.
May be undefined if the type is of the form asserts val
.
Will be defined if the type is of the form asserts val is string
or val is string
.
Protected
getVisit this type, returning the value returned by the visitor.
Represents a type predicate.