# Extract map values > Supported in: Batch, Faster, Streaming Return map values as an array. Note the order of array elements is not deterministic. **Expression categories:** Map ## Declared arguments * **Map:** Map expression.
*Expression\>* **Type variable bounds:** *V accepts AnyType* **Output type:** *Array\* ## Examples ### Example 1: Base case **Argument values:** * **Map:** `flight_number` | flight\_number | **Output** | | ----- | ----- | | {
 MT-111 -> 2,
 XB-134 -> 1,
} | \[ 1, 2 ] | *** ### Example 2: Null case **Argument values:** * **Map:** `flight_number` | flight\_number | **Output** | | ----- | ----- | | {
 MT-111 -> 2,
 XB-134 -> *null*,
} | \[ *null*, 2 ] | | *null* | *null* | ***