items

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

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

Parameters

map const(HashMap!(K, V))

A map.

Return Value

Type: auto

A range running through the items in the map.

Meta