/
home
/
infinitibizsol
/
.trash
/
node_modules.4
/
cloudinary-core
/
src
/
util
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/node_modules.4/cloudinary-core/src/util/ensurePresenceOf.js
/** * Validate that the given values are defined * @private * @param {object} parameters where each key value pair is the name and value of the argument to validate. * * @example * * function foo(bar){ * ensurePresenceOf({bar}); * // ... * } */ export default function ensurePresenceOf(parameters) { let missing = Object.keys(parameters).filter(key => parameters[key] === undefined); if (missing.length) { console.error(missing.join(',') + " cannot be undefined"); } }
Copyright ©2k19 -
Hexid
|
Tex7ure