function
Source: HeaderPredicateFactory.ts ↗
objMatch()
Creates a new predicate that returns true for any header that belongs to either attribute or measure matching the provided object.
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.