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

partialMatchKey.md

26 lines350 Bytes

function partialMatchKey(a: readonly unknown[], b: readonly unknown[]): boolean;

Defined in: packages/query-core/dist-ts/src/utils.d.ts:137

Checks if key b partially matches with key a.

Parameters

a

readonly unknown[]

b

readonly unknown[]

Returns

boolean