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

partialMatchKey.md

26 lines425 Bytes

function partialMatchKey(a: readonly unknown[], b: readonly unknown[]): 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