inline fn boolMask(comptime MaskInt: type, value: bool) MaskInt

Returns a mask of all ones if value is true, and a mask of all zeroes if value is false. Compiles to one instruction for register sized integers.

Parameters

MaskInt: type,
value: bool,