Throw exception in all called without an array

Avoid unresolvable `all` due to wrong input type. See #82