How do we decide what to return for a function with an array as a parameter?

We decide if we need the entire array or just a value from itWe can't

We decide if we need the entire array or just a value from it.