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

initZero

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

A constant function that always returns 0. This is the additive identity and is used as the init value for InitializableNumberSum.

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

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

§Return Type

§
number
[src]