TanStack
API Reference

partialMatchKey

ts
function partialMatchKey(a, b): boolean;

Defined in: packages/query-core/src/utils.ts:300

Checks if key b partially matches with key a.

Parameters

a

readonly unknown[]

b

readonly unknown[]

Returns

boolean