HashMap.keys

struct HashMap(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V)
const @property
K[]
keys
()
out (result) { assert (result.length == _length); }

Return Value

Type: K[]

a GC-allocated array filled with the keys contained in this map.

Meta