Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fun/number.ts>multiply

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

Multiply two numbers.

Examples

Example 1

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

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

Parameters

second: number

Returns

(first: number) => number