Skip to main content
Module

x/fun/option.ts>empty

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function empty
import { empty } from "https://deno.land/x/fun@v2.0.0-alpha.10/option.ts";

Returns none, always. This is the empty function used by getMonoid.

Examples

Example 1

import * as O from "./option.ts";

const result = O.empty(); // None

Type Parameters

optional
A = never