op Dur./
A duration divided by an integer (truncating to nanoseconds).
Example:
fn main() io {
print("{(1h / 4).minutes()}")
}Output
15
pub(api) static op /(a: Dur, k: i64) -> DurSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
a | Dur |
k | i64 |
Returns
Dur
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:701