import { Hasher } from "https://deno.land/x/rimbu@0.13.1/core/mod.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']))