TemporalZ

sign

Returns the sign of the duration: positive (1), zero (0), or negative (-1).

See: Temporal.Duration.sign

Parameters

#
self:Duration
Duration

Source

Implementation

#
pub fn sign(self: Duration) Sign {
    return abi.from.sign(abi.c.temporal_rs_Duration_sign(self._inner));
}