Skip to main content
Module

x/fun/mod.ts>number.initNegInf

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.initNegInf
import { number } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { initNegInf } = number;

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