This will lead to unnecessary call to getValues in case of array, terary would be imho better.