ts-morph-structures

Home > ts-morph-structures > ConstructorBodyStatementsGetter > filterCtorBodyStatements

ConstructorBodyStatementsGetter.filterCtorBodyStatements() method

Signature:

filterCtorBodyStatements(key: MemberedStatementsKey): boolean;

Parameters

Parameter Type Description
key MemberedStatementsKey The membered statement key. statementGroupKey will be “constructor”.

Returns:

boolean

true for a match against the key.