Skip to content

multiply

multiply() multiplies a Number (wrapped) by a multiplier (wrapped or raw). Supports the curried version.

Interactive example

Syntax

Classic signature

typescript
function multiply(
	value: Number, 
	multiplier: Number | number
): Number

Curried signature

typescript
function multiply(
	multiplier: Number | number
): (value: Number) => Number

Parameters

  • value : base value (classic signature only).
  • multiplier : multiplier.

Return value

A wrapped Number containing the product.

See also

Released under the MIT license.