getTypeCategories

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

DEPRECATED: getTypeCategories will be removed at the next breaking version

  • getTypeCategories(item: any) : string[]

Parameters

Parameter Type Default Notes
item Optional any {}

Item object.

Returns

typeCategory of the input item.

string[]

Function defined in common/src/content/contentUtils.ts:79