op Dur.*
An integer multiplied by a duration.
Example:
fn main() io {
let k: i64 = 3
print("{(k * 2m).seconds()}")
}Output
360
pub(api) static op *(k: i64, a: Dur) -> DurSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
k | i64 |
a | Dur |
Returns
Dur
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:687