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

x/ts_morph/common/ts_morph_common.d.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@17.0.0/common/ts_morph_common.d.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.