15 lines
298 B
JavaScript
15 lines
298 B
JavaScript
|
'use strict';
|
||
|
|
||
|
/*!
|
||
|
* isobject <https://github.com/jonschlinkert/isobject>
|
||
|
*
|
||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
|
* Released under the MIT License.
|
||
|
*/
|
||
|
|
||
|
function isObject(val) {
|
||
|
return val != null && typeof val === 'object' && Array.isArray(val) === false;
|
||
|
}
|
||
|
|
||
|
module.exports = isObject;
|