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

or

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

A curried form of logical Or.

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

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

§Parameters

§
second: boolean
[src]

§Return Type

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