Skip to main content

数组

_.chunk

_.compact

_.drop

_.dropRight

slice

_.flattenDeep

_.slice

_.initial

_.last

_.nth

_.slice

_.tail

_.take

_.takeRight

集合

_.every

_.filter

_.forEach

_.forEachRight

_.map

_.reduce

函数

_.after

_.before

_.defer

_.delay

_.flip

_.negate

_.once

_.overArgs

语言

_.castArray

_.conformsTo

_.isArguments

涉及方法

  • isObjectLike

_.isObject

_.isObjectLike

_.isBuffer(没完全懂)

_.eq

_.gt

_.isLength

_.isArrayLike

对象

_.keys

辅助Function

arrayLikeKeys

  • 获取类数组的所有键名

arrayEach

arrayEachRight

arrayReduce

baseAssignValue

  • 合并对象键值最低层方法

baseConformsTo

baseValues

baseFlatten

copyArray

  • 拷贝数组

getTag

  • 获取值的类型标签

##initCloneObject

  • 初始化克隆对象

  • 涉及方法
    • [isPrototype](# isPrototype)

isIndex

  • 判断索引有效性

isPrototype

  • 判断是否是原型对象

isFlattenable

strictIndexOf