isSiteType

Function

Determines whether, given a type and typekeywords, the input is a site item type or not

  • isSiteType(type: string, typeKeywords: string[]) : boolean

Parameters

Parameter Type Default Notes
type Required string

the type value on the item

typeKeywords Optional string[] []

the typeKeywords on the item

Returns

boolean

Function defined in common/src/content/compose.ts:423