There is no way to test if a function returns a list or not, since capturing the return value(s) forces the function to return either a list (which isn't an array) or a scalar. This is by design and you cannot work around it.
In reply to Re: How to detect a returns value gracefully
by Joost
in thread How to detect a returns value gracefully
by RatKing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |