getTypes

Function
import { getTypes } from "@esri/hub-common";
//
getTypes('site')
> [ 'hub site application' ]

To do.

  • getTypes(category: string) : string[]

Parameters

Parameter Type Default Notes
category Optional string ""

The ArcGIS Hub category.

Returns

all the item types for the given category.

string[]

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