| Parameter | Description |
|---|---|
| allocator | The allocator to use. |
NativeArray<TValue> An array with a copy of all the values (in no particular order).
Returns an array with a copy of all the values (in no particular order).
The values are not deduplicated. If you sort the returned array, you can use NativeParallelHashMapExtensions.Unique to remove duplicate values.