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: 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
.
Readonly
typeThe type name identifier.
Optional
targetProtected
getVisit this type, returning the value returned by the visitor.
Generated using TypeDoc
Represents a type predicate.