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

constant

import { constant } from "https://raw.githubusercontent.com/baetheus/fun/main/initializable.ts";

Create an Initializable fixed to a concrete value A. This operates like init from Combinable in other functional libraries.

function constant<A>(value: A): Initializable<A>;
§
constant<A>(value: A): Initializable<A>
[src]

§Type Parameters

§Parameters

§
value: A
[src]