Open History to see the last commit
1---
2id: partialMatchKey
3title: partialMatchKey
4---
5β
6```ts
7function partialMatchKey(a: readonly unknown[], b: readonly unknown[]): boolean;
8```
9β
10Defined in: [packages/query-core/src/utils.ts:300](https://github.com/TanStack/query/blob/main/packages/query-core/src/utils.ts#L300)
11β
12Checks if key `b` partially matches with key `a`.
13β
14## Parameters
15β
16### a
17β
18readonly `unknown`[]
19β
20### b
21β
22readonly `unknown`[]
23β
24## Returns
25β
26`boolean`