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/boolean.ts";

Test the equality of two booleans.

@example
import { compare } from "./boolean.ts";

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

§Parameters

§
second: boolean
[src]

§Return Type

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