Home > ts-morph-structures > TypePredicateTypeStructureImpl
Signature:
export default class TypePredicateTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.TypePredicate>
Extends: TypeStructuresBase<TypeStructureKind.TypePredicate>
assert condition is true
Constructor | Modifiers | Description |
---|---|---|
(constructor)(hasAssertsKeyword, parameterName, isType) | Constructs a new instance of the TypePredicateTypeStructureImpl class |
Property | Modifiers | Type | Description |
---|---|---|---|
hasAssertsKeyword | boolean | ||
isType | TypeStructures | null | ||
kind | readonly |
TypeStructureKind.TypePredicate | |
parameterName | LiteralTypeStructureImpl | ||
writerFunction | readonly |
WriterFunction |
Method | Modifiers | Description |
---|---|---|
clone(other) | static |