modify method of judging whether obj is an array

replaced code like 'obj.length !== +obj.length' with code like '_.isObject(obj)',
and reversed some judgement from '!_.isObject(obj)' to '_.isObject(obj)'