dmd ~master (2023-11-01T14:17:50Z)
Dub
Repo
Duration.opCmp
core
time
Duration
Compares this
Duration
with the given
Duration
.
struct
Duration
@
safe
pure const nothrow @
nogc
int
opCmp
(
Duration
rhs
)
Return Value
Type:
int
this < rhs
< 0
this == rhs
0
this > rhs
> 0
Meta
Source
See Implementation
core
time
Duration
functions
opBinary
opBinaryRight
opCast
opCmp
opOpAssign
opUnary
toString
properties
isNegative
max
min
total
zero
templates
split
Compares this Duration with the given Duration.