objMatch()
Home > @gooddata/sdk-ui > objMatch
objMatch() function
Creates a new predicate that returns true for any header that belongs to either attribute or measure matching the provided object.
Signature:
export declare function objMatch(obj: any): IHeaderPredicate;
Parameters
Parameter | Type | Description |
---|---|---|
obj | any | the object to be checked |
Returns:
Remarks
If the object is empty or is not attribute, simple measure or object reference, the function returns predicate that is always falsy.