isWellKnownTypeFilter

Function

Is the argument a well-known type "key"

Accepts string, string[] or IMatchOptions but only string values can possibly be keys on WellKnownItemFilters

  • isWellKnownTypeFilter(key: string | string[] | IMatchOptions) : boolean

Parameters

Parameter Type Default Notes
key Required string | string[] | IMatchOptions

Returns

boolean

Function defined in common/src/search/_internal/portalSearchItems.ts:377