So I was thinking that it would be best to always return an array for consistency. The array would contain only one element (when there's only one number) or multiple elements when there are more.
That way, users will always expect an array as a return value. What do you think?
In reply to most appropriate return data type by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |