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

add

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

Add two numbers.

@example
import * as N from "./number.ts";
import { pipe } from "./fn.ts";

const result = pipe(2, N.add(2)); // 4
function add(second: number): (first: number) => number;
§
add(second: number): (first: number) => number
[src]

§Parameters

§
second: number
[src]

§Return Type

§
(first: number) => number
[src]