Compound.opBinaryRight

Gets a pointer to the element at the given index.

class Compound
pure nothrow @safe
opBinaryRight
(
string op : "in"
)
(
string name
)

Examples

auto test = "test" in compound;
if(test && cast(String)*test) {
   assert(*test == "test");
}

Meta