Skip to main content
Module

x/fun/mod.ts>number.multiply

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function number.multiply
import { number } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { multiply } = number;

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