items

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

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

Parameters

map HashMap!(K, V)

A map.

Return Value

Type: auto

A range running through the items in the map.

Meta