getItemHubType

Function

DEPRECATED: Use getFamily() instead.

get the HubType for a given item or item type

  • getItemHubType(itemOrType: IItem | string) : HubType

Parameters

Parameter Type Default Notes
itemOrType Required IItem | string

an item or item.type

Returns

Property Type Notes

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