number * number → number
array * number → array
number.mul(number[, number, ...]) → number
array.mul(number[, number, ...]) → array
Multiply two or more numbers, or make a periodic array.
Example: It’s as easy as 2 * 2 = 4.
(r.expr(2) * 2).run(conn)
Example: Arrays can be multiplied by numbers as well.
(r.expr(["This", "is", "the", "song", "that", "never", "ends."]) * 100).run(conn)
Couldn't find what you were looking for?
Contribute: edit this page or open an issue