Skip to main content
Module

x/fun/mod.ts>number.initPosInf

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

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

Examples

Example 1

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

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

Returns

number