Returns a newly allocated dynamic array containing a copy of the keys from the associative array.
The associative array.
A dynamic array containing a copy of the keys.
auto aa = [1: "v1", 2: "v2"]; int sum; foreach (k; aa.keys) sum += k; assert(sum == 3);
See Implementation
Returns a newly allocated dynamic array containing a copy of the keys from the associative array.