Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

initPosInf

import { initPosInf } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/number.ts";

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

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

const result = N.initPosInf(); // Number.POSITIVE_INFINITY
function initPosInf(): number;
§
initPosInf(): number
[src]

§Return Type

§
number
[src]