Skip to main content
Module

x/fun/mod.ts>boolean.constTrue

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
variable boolean.constTrue
import { boolean } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { constTrue } = boolean;

A function that always returns true.

Examples

Example 1

import { constTrue } from "./boolean.ts";

const result = constTrue(); // true

type

() => unknown