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