In Range§
See primary documentation in context for sub infix:<*>.
multi infix:<*>(Range:D \r, Real:D \v) multi infix:<*>(Real:D \v, Range:D \r)
Takes a Real
and multiply both boundaries of the Range
object by that number.
say (1..2) * 2; # OUTPUT: «2..4»