Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/prelude_js/multiary.ts>localeCompare

A standard module for functional programming in JavaScript
Go to Latest
function localeCompare
import { localeCompare } from "https://deno.land/x/prelude_js@1.0.0-beta.2/multiary.ts";

Apply localeCompare.

Type Parameters

T extends Readonly<{ localeCompare: AnyFn; }>

Parameters

value: T
...args: Parameters<T["localeCompare"]>

Returns

ReturnType<T["localeCompare"]>