es-membrane

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)](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl._constructor_.html) Constructs a new instance of the `TypePredicateTypeStructureImpl` class

Properties

Property Modifiers Type Description
[hasAssertsKeyword](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl.hasassertskeyword.html) boolean
[isType](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl.istype.html) [TypeStructures](/es-membrane/ts-morph-structures/api/ts-morph-structures.typestructures.html) \| null
[kind](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl.kind.html) `readonly` [TypeStructureKind.TypePredicate](/es-membrane/ts-morph-structures/api/ts-morph-structures.typestructurekind.html)
[parameterName](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl.parametername.html) [LiteralTypeStructureImpl](/es-membrane/ts-morph-structures/api/ts-morph-structures.literaltypestructureimpl.html)
[writerFunction](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl.writerfunction.html) `readonly` WriterFunction

Methods

Method Modifiers Description
[clone(other)](/es-membrane/ts-morph-structures/api/ts-morph-structures.typepredicatetypestructureimpl.clone.html) `static`