Home > ts-morph-structures > ClassMembersMap > arrayOfKind
Get class members of a particular kind.
Signature:
arrayOfKind<Kind extends ClassMemberImpl["kind"]>(kind: Kind): Extract<ClassMemberImpl, KindedStructure<Kind>>[];
Parameter | Type | Description |
---|---|---|
kind | Kind | the structure kind to get. |
Returns:
Extract<ClassMemberImpl, KindedStructure<Kind>>[]
all current members of that kind.