✏️ 编辑:_customOmitClone.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_customOmitClone.js
大小:475 B · 修改:2022-11-21 20:09:40 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var isPlainObject = require('./isPlainObject'); /** * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain * objects. * * @private * @param {*} value The value to inspect. * @param {string} key The key of the property to inspect. * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. */ function customOmitClone(value) { return isPlainObject(value) ? undefined : value; } module.exports = customOmitClone;
💾 保存
取消
保存为 UTF-8,换行统一为 LF