# partialMatchKey

```ts
function partialMatchKey(a, b): boolean;
```

Defined in: [packages/query-core/src/utils.ts:300](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L300)

Checks if key `b` partially matches with key `a`.

## Parameters

### a

readonly `unknown`[]

### b

readonly `unknown`[]

## Returns

`boolean`
