Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fun/mod.ts>number.add

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

Add two numbers.

Examples

Example 1

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

const result = pipe(2, N.add(2)); // 4

Parameters

second: number

Returns

(first: number) => number