Skip to main content
Module

x/fun/number.ts>emptyNegInf

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

A constant function that always returns Number.NEGATIVE_INFINITY. This is the maximum identity and is used as the empty value for MonoidNumberMiximum.

Examples

Example 1

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

const result = N.emptyNegInf(); // Number.NEGATIVE_INFINITY

Returns

number