import { Hasher } from "https://deno.land/x/rimbu@1.0.4/hashed/main/index.ts";
const { tupleSymmetric } = Hasher;
Returns a Hasher that will return equal hash values for values in a tuple regardless
of their order, and uses the given hasher
function to hash the tuple elements.
Examples
Example 1
Example 1
const h = Hasher.tupleSymmetric()
console.log(h.hash(['abc', 'def']) === h.hash(['def', 'abc']))