OxL Reference

op Dur.*

An integer multiplied by a duration.

Example:

oxl✓ checked in CI
fn main() io {
  let k: i64 = 3
  print("{(k * 2m).seconds()}")
}
Output
360
pub(api) static op *(k: i64, a: Dur) -> Dur

Since. 1.0.0-beta

Parameters

NameType
ki64
aDur

Returns

Dur

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:687

See also