install-nix-action/node_modules/isobject/index.js

13 lines
288 B
JavaScript
Raw Permalink Normal View History

2019-11-20 03:50:30 +11:00
/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
'use strict';
module.exports = function isObject(val) {
return val != null && typeof val === 'object' && Array.isArray(val) === false;
};