byKeyValue

Produce a range through the items of a map. (A key-value pair)

  1. auto byKeyValue(auto ref HashMap!(K, V) map)
    @nogc @safe pure nothrow
    byKeyValue
    (
    K
    V
    )
    (
    auto ref HashMap!(K, V) map
    )
  2. auto byKeyValue(auto ref const(HashMap!(K, V)) map)
  3. auto byKeyValue(auto ref immutable(HashMap!(K, V)) map)

Parameters

map
Type: HashMap!(K, V)

A map.

Return Value

Type: auto

A range running through the items in the map.

Meta