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
opBinaryRight
@system
(
string op
K
)
(
K key
)
if (
op == "in"
)

Return Value

Type: 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