Skip to content

multiply

Signature

multiply(any, any)

Description

Does arithmetic multiplication of two specified values of numbers, quantities, and durations.

Examples

With numbers

multiply(`1`, `2`) == `2`

With durations

multiply('1h', `2`) == '2h'

With quantities

multiply('1Mi', `2`) == '2Mi'