TwoWayMap.opIndex

opIndex operator - performs a lookup of an item B in the map corresponding to an item A.

  1. KeyType opIndex(cstring b)
  2. ValueType opIndex(KeyType a)
    struct TwoWayMap(A)

Parameters

a KeyType

item to look up

Return Value

Type: ValueType

item of type B corresponding to specified item of type A

Throws

as per the normal opIndex operator over an associative array

Meta