import { Hasher } from "https://deno.land/x/rimbu@0.14.0/hashed/common/hasher.ts";
const { objectHasher } = Hasher;
Returns a Hasher instance that hashes objects of key type K and value type V.
Examples
Example 1
Example 1
const h = Hasher.objectHasher()
console.log(h.hash({ a: 1, b: 2 }) === h.hash({ b: 2, a: 1 }))
// => true