Skip to main content
Module

x/fun/mod.ts>number.emptyPosInf

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 number.emptyPosInf
import { number } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { emptyPosInf } = number;

A constant function that always returns Number.POSITIVE_INFINITY. This is the minimum identity and is used as the empty value for MonoidNumberMinimum.

Examples

Example 1

import * as N from "./number.ts";

const result = N.emptyPosInf(); // Number.POSITIVE_INFINITY

Returns

number