MultiValueMap.getAll

Gets all values associated with a given key, allocated in a new array.

struct MultiValueMap(KeyType, ValueType, alias KeySort = (a, b) => a < b)
const
ValueType[]
getAll
(
KeyType k
)

Parameters

k KeyType

The key to get the values of.

Return Value

Type: ValueType[]

The values associated with the given key, or an empty array if no values exist for the key.