import { fn } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { constant } = fn;
Create a Fn that always returns a value. This is equivalent to of but without the ability to specify a contravariant argument.
Parameters
a: A
import { fn } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { constant } = fn;
Create a Fn that always returns a value. This is equivalent to of but without the ability to specify a contravariant argument.