Converts an array to a non-empty array.
If the array is empty, returns null.
null
The array to convert.
The non-empty array or null if the array is empty.
Converts an array to a non-empty array.
If the array is empty, returns
null.