as_array
function:
- Can also be called as
as_list
return the array if the argument is an array, nothing if it's not.
Examples:
- running:
(as_array [1, 2, 3, 4])
will give:[1, 2, 3, 4]
- running:
(as_array 312)
will return nothing