Node.opBinaryRight

inout(Node *) opBinaryRight(string op, K)(K key) if (op == "in") inout

Determine whether a key is in a mapping, and access its value.

This method can only be called on mapping nodes.

Parameters

keyKey to search for.

Returns

A pointer to the value (as a Node) corresponding to key,

or null if not found.

Note

Any modification to the node can invalidate the returned

pointer.

See Also

contains