mirror of
https://github.com/actions/setup-python.git
synced 2025-06-28 21:53:47 +00:00
Clean up node_modules
This commit is contained in:
parent
b581dd4017
commit
145e800d1f
7184 changed files with 11271 additions and 1877650 deletions
22
node_modules/is-descriptor/index.js
generated
vendored
22
node_modules/is-descriptor/index.js
generated
vendored
|
@ -1,22 +0,0 @@
|
|||
/*!
|
||||
* is-descriptor <https://github.com/jonschlinkert/is-descriptor>
|
||||
*
|
||||
* Copyright (c) 2015-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var typeOf = require('kind-of');
|
||||
var isAccessor = require('is-accessor-descriptor');
|
||||
var isData = require('is-data-descriptor');
|
||||
|
||||
module.exports = function isDescriptor(obj, key) {
|
||||
if (typeOf(obj) !== 'object') {
|
||||
return false;
|
||||
}
|
||||
if ('get' in obj) {
|
||||
return isAccessor(obj, key);
|
||||
}
|
||||
return isData(obj, key);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue