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

14 lines
372 B
Plaintext

/**
* The base implementation of `_.hasIn` without support for deep paths.
*
* @private
* @param {Object} [object] The object to query.
* @param {Array|string} key The key to check.
* @returns {boolean} Returns `true` if `key` exists, else `false`.
*/
function baseHasIn(object, key) {
return object != null && key in Object(object);
}
export default baseHasIn;