Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

partialMatchKey.md

26 lines350 Bytes

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/dist-ts/src/utils.d.ts:137
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`