The OpenD Programming Language

HashMap.keys

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

Return Value

Type: K[]

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

Meta