import { comparable } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { string } = comparable;
A Comparable that compares strings using strict equality.
Examples
Example 1
Example 1
import { string } from "./comparable.ts";
const result1 = string.compare("World")("Hello"); // false
const result2 = string.compare("")(""); // true
type
Comparable<string>