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 @@ -157,7 +157,7 @@ exports.extend = function (to, from) {
157
157
*/
158
158
159
159
exports . isObject = function ( obj ) {
160
- return obj && typeof obj === 'object'
160
+ return obj !== null && typeof obj === 'object'
161
161
}
162
162
163
163
/**
@@ -180,9 +180,7 @@ exports.isPlainObject = function (obj) {
180
180
* @return {Boolean }
181
181
*/
182
182
183
- exports . isArray = function ( obj ) {
184
- return Array . isArray ( obj )
185
- }
183
+ exports . isArray = Array . isArray
186
184
187
185
/**
188
186
* 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