Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.
Detect whether a value is an error