multiply
The multiply() method multiplies two numbers together. It can be used in a curried mode to create partially applied multiplication functions.
Interactive example
Syntax
Classic signature
typescript
function multiply<
GenericInput extends number
>(
input: GenericInput,
operand: number
): numberCurried signature
typescript
function multiply<
GenericInput extends number
>(
operand: number
): (input: GenericInput) => numberParameters
input: The number to multiply (multiplicand, classic signature only).operand: The multiplier.
Return value
returns the product of the two numbers (input * operand).
