Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/mod.ts>Comp.stringComp

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Comp.stringComp
import { Comp } from "https://deno.land/x/rimbu@1.1.0/core/mod.ts";
const { stringComp } = Comp;

Returns a Comp instance that compares strings based on the string's localeCompare method.

Parameters

...args: ConstructorParameters<Intl.Collator>
  • (optional) a locale or list of locales

Returns

Comp<string>