Whether byte is in the set.
Byte_Search :: #import "Extensions/Byte_Search";
vowels := Byte_Search.make_byte_set(.[#char "a", #char "e", #char "i", #char "o", #char "u"]);
assert(Byte_Search.contains(*vowels, #char "e"));
assert(!Byte_Search.contains(*vowels, #char "z"));contains :: (set: *Byte_Set, byte: u8) -> bool
Parameters
- set: *Byte_Set
- byte: u8
Returns
- bool