Skip to content

KeyNormalizer

KeyNormalizer<K> = Callable<[K], unknown>

Defined in: packages/data/src/fuzzy/fuzzy-map.ts:11

Reduces a key to the value lookups actually compare.

Its result is compared by SameValueZero, so it must be a primitive — two fresh objects never match, however equal they look.

K