# nats\_array\_flip

*Article Topics:* [*Smarty*](https://docs.toomuchmedia.com/getting-started/common-topics/smarty)*,* [*Customization*](https://docs.toomuchmedia.com/getting-started/common-topics/customization)

## Parameters

(*Required parameters in **bold**)*

| Parameter                                                                                                                  | Description                   | Possible Values                | Default Value              | Example               |
| -------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------ | -------------------------- | --------------------- |
| **array**                                                                                                                  | **The array to flip**         | **Any initialized array**      | **None.**                  | **array="my\_array"** |
| [assign](https://docs.toomuchmedia.com/nats-admin/skins-and-templates/further-reading/template-function-parameters/assign) | Store output in this variable | Any valid Smarty variable name | *See output section below* | assign="my\_var"      |

## Output

None. Output stored in the {$array} variable or the variable name you set with the assign parameter.
