AssocArray.opIndex

Lookup and return the value associated with key, if the key has not been added, it returns null.

struct AssocArray(K, V)
pure nothrow @nogc
V
opIndex
(
const(K) key
)

Parameters

key const(K)

key to lookup the value for

Return Value

Type: V

the value associated with key if present, otherwise, null.

Meta