T
UseArrayUniqueKeyFn
testeddemoExtracts the comparison key for an element. Two elements that produce the same key (via `===`/`Set` identity) are considered duplicates.
Demo
Loading demo…
Signature
ts
export type UseArrayUniqueKeyFn<T>
= (element: T) => PropertyKey;Type Parameters
T