getTypeCategories

Function
import { getTypeCategories } from "@esri/hub-common";
//
getTypeCategories(item)
> [ 'Hub Site Application' ]
  • getTypeCategories(item: any) : string[]

Parameters

Parameter Type Default Notes
item Optional any {}

Item object.

Returns

typeCategory of the input item.

string[]

Function defined in packages/common/src/content.ts:147