Skip to main content
Module

x/rimbu/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@0.13.1/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>