The OpenD Programming Language

InversionList.opBinaryRight

Tests the presence of codepoint ch in this set, the same as opIndex.

struct InversionList(SP = GcPolicy)
const
bool
opBinaryRight
(
string op : "in"
U
)
(
U ch
)
if (
is(U : dchar)
)

Examples

assert('я' in unicode.Cyrillic);
assert(!('z' in unicode.Cyrillic));

Meta