mirror of
https://gitea.com/actions/stale.git
synced 2026-10-22 19:24:25 +00:00
0649bd8119
* Bumping actions/github to 2.2.0 for GHES * Husky commit correct node modules
15 lines
350 B
JavaScript
15 lines
350 B
JavaScript
/*!
|
|
* is-extendable <https://github.com/jonschlinkert/is-extendable>
|
|
*
|
|
* Copyright (c) 2015-2017, Jon Schlinkert.
|
|
* Released under the MIT License.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var isPlainObject = require('is-plain-object');
|
|
|
|
module.exports = function isExtendable(val) {
|
|
return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);
|
|
};
|