pub fn isSet(self: Self, index: usize) bool
Returns true if the bit at the specified index is present in the set, false otherwise.
self: Self
index: usize
809 810 811 812
pub fn isSet(self: Self, index: usize) bool { assert(index < self.bit_length); return (self.masks[maskIndex(index)] & maskBit(index)) != 0; }
Returns true if the bit at the specified index is present in the set, false otherwise.