That won't do as `typeof array` is `'object'`, you'd want to use `_.isArray`.