创建一个经 lodash
包装后的对象会启用隐式链。返回的数组、集合、方法相互之间能够链式调用。
@@ -435,47 +443,51 @@
默认不支持 链式调用 的方法:
add
, attempt
, camelCase
, capitalize
, ceil
, clamp
, clone
,
cloneDeep
, cloneDeepWith
, cloneWith
, deburr
, endsWith
, eq
,
-escape
, escapeRegExp
, every
, find
, findIndex
, findKey
,
-findLast
, findLastIndex
, findLastKey
, floor
, get
, gt
, gte
,
-has
, hasIn
, head
, identity
, includes
, indexOf
, inRange
,
-invoke
, isArguments
, isArray
, isArrayLike
, isArrayLikeObject
,
-isBoolean
, isDate
, isElement
, isEmpty
, isEqual
, isEqualWith
,
-isError
, isFinite
, isFunction
, isInteger
, isLength
, isMatch
,
-isMatchWith
, isNaN
, isNative
, isNil
, isNull
, isNumber
,
+escape
, escapeRegExp
, every
, find
, findIndex
, findKey
, findLast
,
+findLastIndex
, findLastKey
, floor
, forEach
, forEachRight
, forIn
,
+forInRight
, forOwn
, forOwnRight
, get
, gt
, gte
, has
, hasIn
,
+head
, identity
, includes
, indexOf
, inRange
, invoke
, isArguments
,
+isArray
, isArrayBuffer
, isArrayLike
, isArrayLikeObject
, isBoolean
,
+isBuffer
, isDate
, isElement
, isEmpty
, isEqual
, isEqualWith
,
+isError
, isFinite
, isFunction
, isInteger
, isLength
, isMap
,
+isMatch
, isMatchWith
, isNaN
, isNative
, isNil
, isNull
, isNumber
,
isObject
, isObjectLike
, isPlainObject
, isRegExp
, isSafeInteger
,
-isString
, isUndefined
, isTypedArray
, join
, kebabCase
, last
,
-lastIndexOf
, lowerCase
, lowerFirst
, lt
, lte
, max
, maxBy
,
-mean
, min
, minBy
, noConflict
, noop
, now
, pad
, padEnd
,
-padStart
, parseInt
, pop
, random
, reduce
, reduceRight
, repeat
,
-result
, round
, runInContext
, sample
, shift
, size
, snakeCase
,
-some
, sortedIndex
, sortedIndexBy
, sortedLastIndex
, sortedLastIndexBy
,
-startCase
, startsWith
, subtract
, sum
, sumBy,
template,
times,
toLower,
toInteger,
toLength,
toNumber,
toSafeInteger, toString
,
-toUpper
, trim
, trimEnd
, trimStart
, truncate
, unescape
, uniqueId
,
-upperCase
, upperFirst
, value
, 以及 words
+isSet
, isString
, isUndefined
, isTypedArray
, isWeakMap
, isWeakSet
,
+join
, kebabCase
, last
, lastIndexOf
, lowerCase
, lowerFirst
,
+lt
, lte
, max
, maxBy
, mean
, min
, minBy
, noConflict
, noop
,
+now
, pad
, padEnd
, padStart
, parseInt
, pop
, random
, reduce
,
+reduceRight
, repeat
, result
, round
, runInContext
, sample
,
+shift
, size
, snakeCase
, some
, sortedIndex
, sortedIndexBy
,
+sortedLastIndex
, sortedLastIndexBy
, startCase
, startsWith
, subtract
,
+sum
, sumBy
, template
, times
, toLower
, toInteger
, toLength
,
+toNumber
, toSafeInteger
, toString
, toUpper
, trim
, trimEnd
,
+trimStart
, truncate
, unescape
, uniqueId
, upperCase
, upperFirst
,
+value
, 以及 words
支持 链式调用 的方法:
-after
, ary
, assign
, assignIn
, assignInWith
, assignWith
,
-at
, before
, bind
, bindAll
, bindKey
, chain
, chunk
, commit
,
-compact
, concat
, conforms
, constant
, countBy
, create
, curry
,
-debounce
, defaults
, defaultsDeep
, defer
, delay
, difference
,
-differenceBy
, differenceWith
, drop
, dropRight
, dropRightWhile
,
-dropWhile
, fill
, filter
, flatten
, flattenDeep
, flip
, flow
,
-flowRight
, fromPairs
, functions
, functionsIn
, groupBy
, initial
,
-intersection
, intersectionBy
, intersectionWith
, invert
, invertBy
, invokeMap
,
-iteratee
, keyBy
, keys
, keysIn
, map
, mapKeys
, mapValues
,
-matches
, matchesProperty
, memoize
, merge
, mergeWith
, method
,
-methodOf
, mixin
, negate
, nthArg
, omit
, omitBy
, once
, orderBy
,
-over
, overArgs
, overEvery
, overSome
, partial
, partialRight
,
-partition
, pick
, pickBy
, plant
, property
, propertyOf
, pull
,
-pullAll
, pullAllBy
, pullAt
, push
, range
, rangeRight
, rearg
,
-reject
, remove
, rest
, reverse
, sampleSize
, set
, setWith
,
-shuffle
, slice
, sort
, sortBy
, splice
, spread
, tail
, take
,
-takeRight
, takeRightWhile
, takeWhile
, tap
, throttle
, thru
,
-toArray
, toPairs
, toPairsIn
, toPath
, toPlainObject
, transform
,
-unary
, union
, unionBy
, unionWith
, uniq
, uniqBy
, uniqWith
,
-unset
, unshift
, unzip
, unzipWith
, values
, valuesIn
, without
,
-wrap
, xor
, xorBy
, xorWith
, zip
, zipObject
, zipObjectDeep
, 以及 zipWith
+
after
,
ary
,
assign
,
assignIn
,
assignInWith
,
assignWith
,
at
,
+
before
,
bind
,
bindAll
,
bindKey
,
castArray
,
chain
,
chunk
,
+
commit
,
compact
,
concat
,
conforms
,
constant
,
countBy
,
create
,
+
curry
,
debounce
,
defaults
,
defaultsDeep
,
defer
,
delay
,
difference
,
+
differenceBy
,
differenceWith
,
drop
,
dropRight
,
dropRightWhile
,
+
dropWhile
,
fill
,
filter
,
flatten
,
flattenDeep
,
flattenDepth
,
+
flip
,
flow
,
flowRight
,
fromPairs
,
functions
,
functionsIn
,
+
groupBy
,
initial
,
intersection
,
intersectionBy
,
intersectionWith
,
+
invert
,
invertBy
,
invokeMap
,
iteratee
,
keyBy
,
keys
,
keysIn
,
+
map
,
mapKeys
,
mapValues
,
matches
,
matchesProperty
,
memoize
,
+
merge
,
mergeWith
,
method
,
methodOf
,
mixin
,
negate
,
nthArg
,
+
omit
,
omitBy
,
once
,
orderBy
,
over
,
overArgs
,
overEvery
,
+
overSome
,
partial
,
partialRight
,
partition
,
pick
,
pickBy
,
plant
,
+
property
,
propertyOf
,
pull
,
pullAll
,
pullAllBy
,
pullAt
,
push
,
+
range
,
rangeRight
,
rearg
,
reject
,
remove
,
rest
,
reverse
,
+
sampleSize
,
set
,
setWith
,
shuffle
,
slice
,
sort
,
sortBy
,
+
splice
,
spread
,
tail
,
take
,
takeRight
,
takeRightWhile
,
+
takeWhile
,
tap
,
throttle
,
thru
,
toArray
,
toPairs
,
toPairsIn
,
+
toPath
,
toPlainObject
,
transform
,
unary
,
union
,
unionBy
,
+
unionWith
,
uniq
,
uniqBy
,
uniqWith
,
unset
,
unshift
,
unzip
,
+
unzipWith
,
values
,
valuesIn
,
without
,
wrap
,
xor
,
xorBy
,
+
xorWith
,
zip
,
zipObject
,
zipObjectDeep
, 以及
zipWith
diff --git a/add.html b/add.html
index d7e2b2d..2286131 100644
--- a/add.html
+++ b/add.html
@@ -37,7 +37,7 @@