isFamilyExpansionType

Function

Checks to see if our type is a family expansion, i.e. our type is a key in HubFamilies and it begins with a dollar sign

$content, $site, etc.

  • isFamilyExpansionType(key: string) : boolean

Parameters

Parameter Type Default Notes
key Required string

Returns

boolean

Function defined in packages/common/src/search/_internal/isFamilyExpansionType.ts:11