Function fits [src]
Returns whether self can fit into an integer of the requested type.
Prototype
pub fn fits(self: Managed, comptime T: type) bool
Parameters
self: Managed
T: type
Source
pub fn fits(self: Managed, comptime T: type) bool {
return self.toConst().fits(T);
}