mirror of
https://github.com/actions/setup-node.git
synced 2025-07-27 08:58:24 +02:00
.
This commit is contained in:
parent
fc725ba36b
commit
422b9fdb15
7395 changed files with 1786235 additions and 3476 deletions
19
node_modules/unset-value/node_modules/has-value/index.js
generated
vendored
Normal file
19
node_modules/unset-value/node_modules/has-value/index.js
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*!
|
||||
* has-value <https://github.com/jonschlinkert/has-value>
|
||||
*
|
||||
* Copyright (c) 2014-2016, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var isObject = require('isobject');
|
||||
var hasValues = require('has-values');
|
||||
var get = require('get-value');
|
||||
|
||||
module.exports = function(obj, prop, noZero) {
|
||||
if (isObject(obj)) {
|
||||
return hasValues(get(obj, prop), noZero);
|
||||
}
|
||||
return hasValues(obj, prop);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue