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; }