setup-rust-action/node_modules/isobject/index.cjs.js

15 lines
298 B
JavaScript
Raw Normal View History

2019-08-15 17:37:37 +00:00
'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;