TwoWayMap.opIndex

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

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

Parameters

b cstring

item to look up

Return Value

Type: KeyType

item of type A corresponding to specified item of type B

Throws

as per the normal opIndex operator over an associative array

Meta