Function isPositive [src]
Returns whether an Managed is positive.
Prototype
pub fn isPositive(self: Managed) bool
Parameters
self: Managed
Source
pub fn isPositive(self: Managed) bool {
return self.metadata & sign_bit == 0;
}
pub fn isPositive(self: Managed) bool
self: Managed
pub fn isPositive(self: Managed) bool {
return self.metadata & sign_bit == 0;
}