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