import { Eq } from "https://deno.land/x/rimbu@0.13.5/core/main/index.ts";
const { createStringCollatorEq } = Eq;
Returns an Eq instance that considers strings equal taking the given or default locale into account.
Examples
Example 1
Example 1
const eq = Eq.createStringCollatorEq()
console.log(eq('a', 'a'))
// => true
console.log(eq('abc', 'aBc'))
// => false