Skip to main content
Module

x/fun/number.ts>initNegInf

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

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

Examples

Example 1

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

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

Returns

number