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

initOne

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

A constant function that always returns 1. This is the multiplicative identity and is used as the init value for InitializableNumberProduct.

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

const result = N.initOne(); // 1
function initOne(): number;
§
initOne(): number
[src]

§Return Type

§
number
[src]