Files
NapCatQQ/.pnpm-store/v3/files/90/dc2bd4dfdd35a2d0440ce4a0ad30ef90cb4a2c9c78fec2b5f83a1ba8f8791f2dea5d6ae6cf9c930a7833f61860c7c6d4688e0b290eaa1615455a7a3f1e7ec7
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

17 lines
473 B
Plaintext

import isPlainObject from './isPlainObject.js';
/**
* 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;
}
export default customOmitClone;