Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2022-01-29 01:49:46 +00:00
parent 9673b562d9
commit 6410c0691e
28 changed files with 8738 additions and 3194 deletions

18
node_modules/@sinonjs/samsam/lib/is-iterable.js generated vendored Normal file
View file

@ -0,0 +1,18 @@
"use strict";
/**
* Returns `true` when the argument is an iterable, `false` otherwise
*
* @alias module:samsam.isIterable
* @param {*} val - A value to examine
* @returns {boolean} Returns `true` when the argument is an iterable, `false` otherwise
*/
function isIterable(val) {
// checks for null and undefined
if (typeof val !== "object") {
return false;
}
return typeof val[Symbol.iterator] === "function";
}
module.exports = isIterable;