filterObjRef()
Home > @gooddata/sdk-model > filterObjRef
filterObjRef() function
Gets reference to object being used for filtering.
Signature:
export declare function filterObjRef(filter: IFilter): ObjRef | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
filter | IFilter | filter to work with |
Returns:
ObjRef | undefined
reference to object used for filtering (display form for attr filters, data set for date filters), undefined for measure value filters
Remarks
For attribute filters, this will be reference to the display form. For date filters this will be reference to the data set. For measure value filter, this will be undefined.