getCollection
import { getCollection } from "@esri/hub-common";
//
getCollection('Feature Layer')
> 'dataset'
Get the Hub collection for a given item type
import { getCollection } from "@esri/hub-common";
//
getCollection('Feature Layer')
> 'dataset'
Get the Hub collection for a given item type
Parameters
Returns
the Hub collection of a given item type.
string
Function defined in common/src/collections.ts:139