Home > ts-morph-structures > ClassFieldStatementsMap > get
Get a statements for a key set.
Signature:
get(fieldName: string, statementGroup: string): ClassFieldStatement[] | undefined;
Parameter | Type | Description |
---|---|---|
fieldName | string | The class field name for the statements. |
statementGroup | string | The statement group owning the statements. |
Returns:
ClassFieldStatement[] | undefined
The statements. Undefined if it isn’t in the collection.