ts-morph-structures

Home > ts-morph-structures > ConstructorHeadStatementsGetter > filterCtorHeadStatements

ConstructorHeadStatementsGetter.filterCtorHeadStatements() method

Signature:

filterCtorHeadStatements(key: MemberedStatementsKey): boolean;

Parameters

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

Returns:

boolean

true for a match against the key.