dimensionsFindItem()
Home > @gooddata/sdk-model > dimensionsFindItem
dimensionsFindItem() function
Looks for item with the provided local identifier among the dimensions.
Signature:
export declare function dimensionsFindItem(dims: IDimension[], localId: string): ItemInDimension[];
Parameters
Parameter |
Type |
Description |
---|---|---|
dims |
list of dimensions to look in | |
localId |
string |
local identifier to find among item identifiers |
Returns:
list of items in dimensions, empty if not found, may contain more than one entry if item is in multiple dimensions