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

and

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

A curried form of logical And.

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

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

§Parameters

§
second: boolean
[src]

§Return Type

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