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

x/ts_morph/common/mod.ts>LocaleStringComparer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class LocaleStringComparer
implements Comparer<string>
import { LocaleStringComparer } from "https://deno.land/x/ts_morph@16.0.0/common/mod.ts";

Compares two strings by en-us-u-kf-upper locale.

Methods

compareTo(a: string, b: string): 1 | -1 | 0

Static Properties

readonly
instance: LocaleStringComparer

Static instance for reuse.