“Object” Methods
- _.assign(object, [sources])
- _.assignIn(object, [sources])
- _.assignInWith(object, sources, [customizer])
- _.assignWith(object, sources, [customizer])
- _.at(object, [paths])
- _.create(prototype, [properties])
- _.defaults(object, [sources])
- _.defaultsDeep(object, [sources])
- _.findKey(object, [predicate=_.identity])
- _.findLastKey(object, [predicate=_.identity])
- _.forIn(object, [iteratee=_.identity])
- _.forInRight(object, [iteratee=_.identity])
- _.forOwn(object, [iteratee=_.identity])
- _.forOwnRight(object, [iteratee=_.identity])
- _.functions(object)
- _.functionsIn(object)
- _.get(object, path, [defaultValue])
- _.has(object, path)
- _.hasIn(object, path)
- _.invert(object)
- _.invertBy(object, [iteratee=_.identity])
- _.invoke(object, path, [args])
- _.keys(object)
- _.keysIn(object)
- _.mapKeys(object, [iteratee=_.identity])
- _.mapValues(object, [iteratee=_.identity])
- _.merge(object, [sources])
- _.mergeWith(object, sources, customizer)
- _.omit(object, [paths])
- _.omitBy(object, [predicate=_.identity])
- _.pick(object, [paths])
- _.pickBy(object, [predicate=_.identity])
- _.result(object, path, [defaultValue])
- _.set(object, path, value)
- _.setWith(object, path, value, [customizer])
- _.toPairs(object)
- _.toPairsIn(object)
- _.transform
- _.unset(object, path)
- _.update(object, path, updater)
- _.updateWith(object, path, updater, [customizer])
- _.values(object)
- _.valuesIn(object)
当前内容版权归 lodash.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 lodash.com .