InversionList.opIndex

Tests the presence of code point val in this set.

struct InversionList(SP = GcPolicy)
const
bool
opIndex
(
uint val
)

Examples

auto gothic = unicode.Gothic;
// Gothic letter ahsa
assert(gothic['\U00010330']);
// no ascii in Gothic obviously
assert(!gothic['$']);

Meta