sign
Returns the sign of the duration: positive (1), zero (0), or negative (-1).
Parameters
- self:Duration
- Duration
Source
Implementation
pub fn sign(self: Duration) Sign {
return abi.from.sign(abi.c.temporal_rs_Duration_sign(self._inner));
}Returns the sign of the duration: positive (1), zero (0), or negative (-1).
Source
pub fn sign(self: Duration) Sign {
return abi.from.sign(abi.c.temporal_rs_Duration_sign(self._inner));
}