> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# objMatch()

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/headerMatching/HeaderPredicateFactory.ts

Creates a new predicate that returns true for any header that belongs to either attribute or measure matching the provided object.

**Signature:**

```typescript
export declare function objMatch(obj: any): IHeaderPredicate;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| obj | any | the object to be checked |

**Returns:**

[IHeaderPredicate](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iheaderpredicate/index.md)

## Remarks

If the object is empty or is not attribute, simple measure or object reference, the function returns predicate that is always falsy.
