File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ exports.extend = function (to, from) {
172
172
*/
173
173
174
174
exports . isObject = function ( obj ) {
175
- return obj && typeof obj === 'object'
175
+ return obj !== null && typeof obj === 'object'
176
176
}
177
177
178
178
/**
@@ -195,9 +195,7 @@ exports.isPlainObject = function (obj) {
195
195
* @return {Boolean }
196
196
*/
197
197
198
- exports . isArray = function ( obj ) {
199
- return Array . isArray ( obj )
200
- }
198
+ exports . isArray = Array . isArray
201
199
202
200
/**
203
201
* Define a non-enumerable property
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ p.run = function () {
179
179
var value = this . get ( )
180
180
if (
181
181
value !== this . value ||
182
- Array . isArray ( value ) ||
182
+ _ . isArray ( value ) ||
183
183
this . deep
184
184
) {
185
185
var oldValue = this . value
You can’t perform that action at this time.
0 commit comments