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

20 lines
499 B
Plaintext

import basePickBy from './_basePickBy.js';
import hasIn from './hasIn.js';
/**
* The base implementation of `_.pick` without support for individual
* property identifiers.
*
* @private
* @param {Object} object The source object.
* @param {string[]} paths The property paths to pick.
* @returns {Object} Returns the new object.
*/
function basePick(object, paths) {
return basePickBy(object, paths, function(value, path) {
return hasIn(object, path);
});
}
export default basePick;