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

x/rimbu/core/main/exports.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.5/core/main/exports.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>