CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
_customOmitClone.js17 linesDownload Raw Back to lodash
1var isPlainObject = require('./isPlainObject');2 3/**4 * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain5 * objects.6 *7 * @private8 * @param {*} value The value to inspect.9 * @param {string} key The key of the property to inspect.10 * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.11 */12function customOmitClone(value) {13  return isPlainObject(value) ? undefined : value;14}15 16module.exports = customOmitClone;17 
basant307/AI_Governance_Project · CoolFace