mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-22 00:20:53 +00:00
12 lines
288 B
JavaScript
12 lines
288 B
JavaScript
/*!
|
|
* 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;
|
|
};
|