Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

compare

import { compare } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/number.ts";

Compare two numbers and return true if they are equal.

@example
import * as N from "./number.ts";

const result1 = N.compare(1)(2); // false
const result2 = N.compare(1)(1); // true
function compare(second: number): (first: number) => boolean;
§
compare(second: number): (first: number) => boolean
[src]

§Parameters

§
second: number
[src]

§Return Type

§
(first: number) => boolean
[src]