ts-morph-structures

Home > ts-morph-structures > TypePredicateTypeStructureImpl

TypePredicateTypeStructureImpl class

Signature:

export default class TypePredicateTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.TypePredicate> 

Extends: TypeStructuresBase<TypeStructureKind.TypePredicate>

Example

assert condition is true

Constructors

Constructor Modifiers Description
(constructor)(hasAssertsKeyword, parameterName, isType)   Constructs a new instance of the TypePredicateTypeStructureImpl class

Properties

Property Modifiers Type Description
hasAssertsKeyword   boolean  
isType   TypeStructures | null  
kind readonly TypeStructureKind.TypePredicate  
parameterName   LiteralTypeStructureImpl  
writerFunction readonly WriterFunction  

Methods

Method Modifiers Description
clone(other) static