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

15 lines
358 B
Plaintext

/**
* The base implementation of `_.property` without support for deep paths.
*
* @private
* @param {string} key The key of the property to get.
* @returns {Function} Returns the new accessor function.
*/
function baseProperty(key) {
return function(object) {
return object == null ? undefined : object[key];
};
}
export default baseProperty;