normalizeItemType

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

Parameters

Parameter Type Default Notes
item Optional any {}

Item object.

Returns

type of the input item.

string

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