toArray APIAPI reference for the toArray composable. Functions toArray(value: Z | Z[]) => Z[]Converts a value to an array.Show code example