Node.opBinaryRight

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

This method can only be called on mapping nodes.

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

Return Value

Type: inout(Node*)

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

Meta