ts-morph-structures

Home > ts-morph-structures > ConstructorTailStatementsGetter > filterCtorTailStatements

ConstructorTailStatementsGetter.filterCtorTailStatements() method

Signature:

filterCtorTailStatements(key: MemberedStatementsKey): boolean;

Parameters

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

Returns:

boolean

true for a match against the key.