“Util” Methods
- _.attempt(func, [args])
- _.bindAll(object, methodNames)
- _.cond(pairs)
- _.conforms(source)
- _.constant(value)
- _.defaultTo(value, defaultValue)
- _.flow([funcs])
- _.flowRight([funcs])
- _.identity(value)
- _.iteratee([func=_.identity])
- _.matches(source)
- _.matchesProperty(path, srcValue)
- _.method(path, [args])
- _.methodOf(object, [args])
- _.mixin([object=lodash], source, [options={}])
- _.noConflict()
- _.noop()
- _.nthArg([n=0])
- _.over([iteratees=[_.identity]])
- _.overEvery([predicates=[_.identity]])
- _.overSome([predicates=[_.identity]])
- _.property(path)
- _.propertyOf(object)
- _.range([start=0], end, [step=1])
- _.rangeRight([start=0], end, [step=1])
- _.runInContext([context=root])
- _.stubArray()
- _.stubFalse()
- _.stubObject()
- _.stubString()
- _.stubTrue()
- _.times(n, [iteratee=_.identity])
- _.toPath(value)
- _.uniqueId([prefix=’’])
当前内容版权归 lodash.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 lodash.com .