import { Eq } from "https://deno.land/x/rimbu@0.13.1/core/mod.ts";
const { iterableEq } = Eq;
Returns an Eq instance that compares Iterables by comparing their elements with the given itemEq
Eq instance.
Examples
Example 1
Example 1
const eq = Eq.iterableEq();
console.log(eq([1, 2, 3], [1, 2, 3])
// => true
console.log(eq([1, 2, 3], [1, 3, 2])
// => false