Lines Matching refs:a

1 # <a href="https://lodash.com/">lodash</a> <span>v4.17.15</span>
8 * <a href="#_chunkarray-size1">`_.chunk`</a>
9 * <a href="#_compactarray">`_.compact`</a>
10 * <a href="#_concatarray-values">`_.concat`</a>
11 * <a href="#_differencearray-values">`_.difference`</a>
12 * <a href="#_differencebyarray-values-iteratee_identity">`_.differenceBy`</a>
13 * <a href="#_differencewitharray-values-comparator">`_.differenceWith`</a>
14 * <a href="#_droparray-n1">`_.drop`</a>
15 * <a href="#_droprightarray-n1">`_.dropRight`</a>
16 * <a href="#_droprightwhilearray-predicate_identity">`_.dropRightWhile`</a>
17 * <a href="#_dropwhilearray-predicate_identity">`_.dropWhile`</a>
18 * <a href="#_fillarray-value-start0-endarraylength">`_.fill`</a>
19 * <a href="#_findindexarray-predicate_identity-fromindex0">`_.findIndex`</a>
20 * <a href="#_findlastindexarray-predicate_identity-fromindexarraylength-1">`_.findLastIndex`</a>
21 * <a href="#_headarray" class="alias">`_.first` -> `head`</a>
22 * <a href="#_flattenarray">`_.flatten`</a>
23 * <a href="#_flattendeeparray">`_.flattenDeep`</a>
24 * <a href="#_flattendeptharray-depth1">`_.flattenDepth`</a>
25 * <a href="#_frompairspairs">`_.fromPairs`</a>
26 * <a href="#_headarray">`_.head`</a>
27 * <a href="#_indexofarray-value-fromindex0">`_.indexOf`</a>
28 * <a href="#_initialarray">`_.initial`</a>
29 * <a href="#_intersectionarrays">`_.intersection`</a>
30 * <a href="#_intersectionbyarrays-iteratee_identity">`_.intersectionBy`</a>
31 * <a href="#_intersectionwitharrays-comparator">`_.intersectionWith`</a>
32 * <a href="#_joinarray-separator-">`_.join`</a>
33 * <a href="#_lastarray">`_.last`</a>
34 * <a href="#_lastindexofarray-value-fromindexarraylength-1">`_.lastIndexOf`</a>
35 * <a href="#_ntharray-n0">`_.nth`</a>
36 * <a href="#_pullarray-values">`_.pull`</a>
37 * <a href="#_pullallarray-values">`_.pullAll`</a>
38 * <a href="#_pullallbyarray-values-iteratee_identity">`_.pullAllBy`</a>
39 * <a href="#_pullallwitharray-values-comparator">`_.pullAllWith`</a>
40 * <a href="#_pullatarray-indexes">`_.pullAt`</a>
41 * <a href="#_removearray-predicate_identity">`_.remove`</a>
42 * <a href="#_reversearray">`_.reverse`</a>
43 * <a href="#_slicearray-start0-endarraylength">`_.slice`</a>
44 * <a href="#_sortedindexarray-value">`_.sortedIndex`</a>
45 * <a href="#_sortedindexbyarray-value-iteratee_identity">`_.sortedIndexBy`</a>
46 * <a href="#_sortedindexofarray-value">`_.sortedIndexOf`</a>
47 * <a href="#_sortedlastindexarray-value">`_.sortedLastIndex`</a>
48 * <a href="#_sortedlastindexbyarray-value-iteratee_identity">`_.sortedLastIndexBy`</a>
49 * <a href="#_sortedlastindexofarray-value">`_.sortedLastIndexOf`</a>
50 * <a href="#_sorteduniqarray">`_.sortedUniq`</a>
51 * <a href="#_sorteduniqbyarray-iteratee">`_.sortedUniqBy`</a>
52 * <a href="#_tailarray">`_.tail`</a>
53 * <a href="#_takearray-n1">`_.take`</a>
54 * <a href="#_takerightarray-n1">`_.takeRight`</a>
55 * <a href="#_takerightwhilearray-predicate_identity">`_.takeRightWhile`</a>
56 * <a href="#_takewhilearray-predicate_identity">`_.takeWhile`</a>
57 * <a href="#_unionarrays">`_.union`</a>
58 * <a href="#_unionbyarrays-iteratee_identity">`_.unionBy`</a>
59 * <a href="#_unionwitharrays-comparator">`_.unionWith`</a>
60 * <a href="#_uniqarray">`_.uniq`</a>
61 * <a href="#_uniqbyarray-iteratee_identity">`_.uniqBy`</a>
62 * <a href="#_uniqwitharray-comparator">`_.uniqWith`</a>
63 * <a href="#_unziparray">`_.unzip`</a>
64 * <a href="#_unzipwitharray-iteratee_identity">`_.unzipWith`</a>
65 * <a href="#_withoutarray-values">`_.without`</a>
66 * <a href="#_xorarrays">`_.xor`</a>
67 * <a href="#_xorbyarrays-iteratee_identity">`_.xorBy`</a>
68 * <a href="#_xorwitharrays-comparator">`_.xorWith`</a>
69 * <a href="#_ziparrays">`_.zip`</a>
70 * <a href="#_zipobjectprops-values">`_.zipObject`</a>
71 * <a href="#_zipobjectdeepprops-values">`_.zipObjectDeep`</a>
72 * <a href="#_zipwitharrays-iteratee_identity">`_.zipWith`</a>
79 * <a href="#_countbycollection-iteratee_identity">`_.countBy`</a>
80 * <a href="#_foreachcollection-iteratee_identity" class="alias">`_.each` -> `forEach`</a>
81 * <a href="#_foreachrightcollection-iteratee_identity" class="alias">`_.eachRight` -> `forEachRight…
82 * <a href="#_everycollection-predicate_identity">`_.every`</a>
83 * <a href="#_filtercollection-predicate_identity">`_.filter`</a>
84 * <a href="#_findcollection-predicate_identity-fromindex0">`_.find`</a>
85 * <a href="#_findlastcollection-predicate_identity-fromindexcollectionlength-1">`_.findLast`</a>
86 * <a href="#_flatmapcollection-iteratee_identity">`_.flatMap`</a>
87 * <a href="#_flatmapdeepcollection-iteratee_identity">`_.flatMapDeep`</a>
88 * <a href="#_flatmapdepthcollection-iteratee_identity-depth1">`_.flatMapDepth`</a>
89 * <a href="#_foreachcollection-iteratee_identity">`_.forEach`</a>
90 * <a href="#_foreachrightcollection-iteratee_identity">`_.forEachRight`</a>
91 * <a href="#_groupbycollection-iteratee_identity">`_.groupBy`</a>
92 * <a href="#_includescollection-value-fromindex0">`_.includes`</a>
93 * <a href="#_invokemapcollection-path-args">`_.invokeMap`</a>
94 * <a href="#_keybycollection-iteratee_identity">`_.keyBy`</a>
95 * <a href="#_mapcollection-iteratee_identity">`_.map`</a>
96 * <a href="#_orderbycollection-iteratees_identity-orders">`_.orderBy`</a>
97 * <a href="#_partitioncollection-predicate_identity">`_.partition`</a>
98 * <a href="#_reducecollection-iteratee_identity-accumulator">`_.reduce`</a>
99 * <a href="#_reducerightcollection-iteratee_identity-accumulator">`_.reduceRight`</a>
100 * <a href="#_rejectcollection-predicate_identity">`_.reject`</a>
101 * <a href="#_samplecollection">`_.sample`</a>
102 * <a href="#_samplesizecollection-n1">`_.sampleSize`</a>
103 * <a href="#_shufflecollection">`_.shuffle`</a>
104 * <a href="#_sizecollection">`_.size`</a>
105 * <a href="#_somecollection-predicate_identity">`_.some`</a>
106 * <a href="#_sortbycollection-iteratees_identity">`_.sortBy`</a>
113 * <a href="#_now">`_.now`</a>
120 * <a href="#_aftern-func">`_.after`</a>
121 * <a href="#_aryfunc-nfunclength">`_.ary`</a>
122 * <a href="#_beforen-func">`_.before`</a>
123 * <a href="#_bindfunc-thisarg-partials">`_.bind`</a>
124 * <a href="#_bindkeyobject-key-partials">`_.bindKey`</a>
125 * <a href="#_curryfunc-arityfunclength">`_.curry`</a>
126 * <a href="#_curryrightfunc-arityfunclength">`_.curryRight`</a>
127 * <a href="#_debouncefunc-wait0-options">`_.debounce`</a>
128 * <a href="#_deferfunc-args">`_.defer`</a>
129 * <a href="#_delayfunc-wait-args">`_.delay`</a>
130 * <a href="#_flipfunc">`_.flip`</a>
131 * <a href="#_memoizefunc-resolver">`_.memoize`</a>
132 * <a href="#_negatepredicate">`_.negate`</a>
133 * <a href="#_oncefunc">`_.once`</a>
134 * <a href="#_overargsfunc-transforms_identity">`_.overArgs`</a>
135 * <a href="#_partialfunc-partials">`_.partial`</a>
136 * <a href="#_partialrightfunc-partials">`_.partialRight`</a>
137 * <a href="#_reargfunc-indexes">`_.rearg`</a>
138 * <a href="#_restfunc-startfunclength-1">`_.rest`</a>
139 * <a href="#_spreadfunc-start0">`_.spread`</a>
140 * <a href="#_throttlefunc-wait0-options">`_.throttle`</a>
141 * <a href="#_unaryfunc">`_.unary`</a>
142 * <a href="#_wrapvalue-wrapperidentity">`_.wrap`</a>
149 * <a href="#_castarrayvalue">`_.castArray`</a>
150 * <a href="#_clonevalue">`_.clone`</a>
151 * <a href="#_clonedeepvalue">`_.cloneDeep`</a>
152 * <a href="#_clonedeepwithvalue-customizer">`_.cloneDeepWith`</a>
153 * <a href="#_clonewithvalue-customizer">`_.cloneWith`</a>
154 * <a href="#_conformstoobject-source">`_.conformsTo`</a>
155 * <a href="#_eqvalue-other">`_.eq`</a>
156 * <a href="#_gtvalue-other">`_.gt`</a>
157 * <a href="#_gtevalue-other">`_.gte`</a>
158 * <a href="#_isargumentsvalue">`_.isArguments`</a>
159 * <a href="#_isarrayvalue">`_.isArray`</a>
160 * <a href="#_isarraybuffervalue">`_.isArrayBuffer`</a>
161 * <a href="#_isarraylikevalue">`_.isArrayLike`</a>
162 * <a href="#_isarraylikeobjectvalue">`_.isArrayLikeObject`</a>
163 * <a href="#_isbooleanvalue">`_.isBoolean`</a>
164 * <a href="#_isbuffervalue">`_.isBuffer`</a>
165 * <a href="#_isdatevalue">`_.isDate`</a>
166 * <a href="#_iselementvalue">`_.isElement`</a>
167 * <a href="#_isemptyvalue">`_.isEmpty`</a>
168 * <a href="#_isequalvalue-other">`_.isEqual`</a>
169 * <a href="#_isequalwithvalue-other-customizer">`_.isEqualWith`</a>
170 * <a href="#_iserrorvalue">`_.isError`</a>
171 * <a href="#_isfinitevalue">`_.isFinite`</a>
172 * <a href="#_isfunctionvalue">`_.isFunction`</a>
173 * <a href="#_isintegervalue">`_.isInteger`</a>
174 * <a href="#_islengthvalue">`_.isLength`</a>
175 * <a href="#_ismapvalue">`_.isMap`</a>
176 * <a href="#_ismatchobject-source">`_.isMatch`</a>
177 * <a href="#_ismatchwithobject-source-customizer">`_.isMatchWith`</a>
178 * <a href="#_isnanvalue">`_.isNaN`</a>
179 * <a href="#_isnativevalue">`_.isNative`</a>
180 * <a href="#_isnilvalue">`_.isNil`</a>
181 * <a href="#_isnullvalue">`_.isNull`</a>
182 * <a href="#_isnumbervalue">`_.isNumber`</a>
183 * <a href="#_isobjectvalue">`_.isObject`</a>
184 * <a href="#_isobjectlikevalue">`_.isObjectLike`</a>
185 * <a href="#_isplainobjectvalue">`_.isPlainObject`</a>
186 * <a href="#_isregexpvalue">`_.isRegExp`</a>
187 * <a href="#_issafeintegervalue">`_.isSafeInteger`</a>
188 * <a href="#_issetvalue">`_.isSet`</a>
189 * <a href="#_isstringvalue">`_.isString`</a>
190 * <a href="#_issymbolvalue">`_.isSymbol`</a>
191 * <a href="#_istypedarrayvalue">`_.isTypedArray`</a>
192 * <a href="#_isundefinedvalue">`_.isUndefined`</a>
193 * <a href="#_isweakmapvalue">`_.isWeakMap`</a>
194 * <a href="#_isweaksetvalue">`_.isWeakSet`</a>
195 * <a href="#_ltvalue-other">`_.lt`</a>
196 * <a href="#_ltevalue-other">`_.lte`</a>
197 * <a href="#_toarrayvalue">`_.toArray`</a>
198 * <a href="#_tofinitevalue">`_.toFinite`</a>
199 * <a href="#_tointegervalue">`_.toInteger`</a>
200 * <a href="#_tolengthvalue">`_.toLength`</a>
201 * <a href="#_tonumbervalue">`_.toNumber`</a>
202 * <a href="#_toplainobjectvalue">`_.toPlainObject`</a>
203 * <a href="#_tosafeintegervalue">`_.toSafeInteger`</a>
204 * <a href="#_tostringvalue">`_.toString`</a>
211 * <a href="#_addaugend-addend">`_.add`</a>
212 * <a href="#_ceilnumber-precision0">`_.ceil`</a>
213 * <a href="#_dividedividend-divisor">`_.divide`</a>
214 * <a href="#_floornumber-precision0">`_.floor`</a>
215 * <a href="#_maxarray">`_.max`</a>
216 * <a href="#_maxbyarray-iteratee_identity">`_.maxBy`</a>
217 * <a href="#_meanarray">`_.mean`</a>
218 * <a href="#_meanbyarray-iteratee_identity">`_.meanBy`</a>
219 * <a href="#_minarray">`_.min`</a>
220 * <a href="#_minbyarray-iteratee_identity">`_.minBy`</a>
221 * <a href="#_multiplymultiplier-multiplicand">`_.multiply`</a>
222 * <a href="#_roundnumber-precision0">`_.round`</a>
223 * <a href="#_subtractminuend-subtrahend">`_.subtract`</a>
224 * <a href="#_sumarray">`_.sum`</a>
225 * <a href="#_sumbyarray-iteratee_identity">`_.sumBy`</a>
232 * <a href="#_clampnumber-lower-upper">`_.clamp`</a>
233 * <a href="#_inrangenumber-start0-end">`_.inRange`</a>
234 * <a href="#_randomlower0-upper1-floating">`_.random`</a>
241 * <a href="#_assignobject-sources">`_.assign`</a>
242 * <a href="#_assigninobject-sources">`_.assignIn`</a>
243 * <a href="#_assigninwithobject-sources-customizer">`_.assignInWith`</a>
244 * <a href="#_assignwithobject-sources-customizer">`_.assignWith`</a>
245 * <a href="#_atobject-paths">`_.at`</a>
246 * <a href="#_createprototype-properties">`_.create`</a>
247 * <a href="#_defaultsobject-sources">`_.defaults`</a>
248 * <a href="#_defaultsdeepobject-sources">`_.defaultsDeep`</a>
249 * <a href="#_topairsobject" class="alias">`_.entries` -> `toPairs`</a>
250 * <a href="#_topairsinobject" class="alias">`_.entriesIn` -> `toPairsIn`</a>
251 * <a href="#_assigninobject-sources" class="alias">`_.extend` -> `assignIn`</a>
252 * <a href="#_assigninwithobject-sources-customizer" class="alias">`_.extendWith` -> `assignInWith`<…
253 * <a href="#_findkeyobject-predicate_identity">`_.findKey`</a>
254 * <a href="#_findlastkeyobject-predicate_identity">`_.findLastKey`</a>
255 * <a href="#_forinobject-iteratee_identity">`_.forIn`</a>
256 * <a href="#_forinrightobject-iteratee_identity">`_.forInRight`</a>
257 * <a href="#_forownobject-iteratee_identity">`_.forOwn`</a>
258 * <a href="#_forownrightobject-iteratee_identity">`_.forOwnRight`</a>
259 * <a href="#_functionsobject">`_.functions`</a>
260 * <a href="#_functionsinobject">`_.functionsIn`</a>
261 * <a href="#_getobject-path-defaultvalue">`_.get`</a>
262 * <a href="#_hasobject-path">`_.has`</a>
263 * <a href="#_hasinobject-path">`_.hasIn`</a>
264 * <a href="#_invertobject">`_.invert`</a>
265 * <a href="#_invertbyobject-iteratee_identity">`_.invertBy`</a>
266 * <a href="#_invokeobject-path-args">`_.invoke`</a>
267 * <a href="#_keysobject">`_.keys`</a>
268 * <a href="#_keysinobject">`_.keysIn`</a>
269 * <a href="#_mapkeysobject-iteratee_identity">`_.mapKeys`</a>
270 * <a href="#_mapvaluesobject-iteratee_identity">`_.mapValues`</a>
271 * <a href="#_mergeobject-sources">`_.merge`</a>
272 * <a href="#_mergewithobject-sources-customizer">`_.mergeWith`</a>
273 * <a href="#_omitobject-paths">`_.omit`</a>
274 * <a href="#_omitbyobject-predicate_identity">`_.omitBy`</a>
275 * <a href="#_pickobject-paths">`_.pick`</a>
276 * <a href="#_pickbyobject-predicate_identity">`_.pickBy`</a>
277 * <a href="#_resultobject-path-defaultvalue">`_.result`</a>
278 * <a href="#_setobject-path-value">`_.set`</a>
279 * <a href="#_setwithobject-path-value-customizer">`_.setWith`</a>
280 * <a href="#_topairsobject">`_.toPairs`</a>
281 * <a href="#_topairsinobject">`_.toPairsIn`</a>
282 * <a href="#_transformobject-iteratee_identity-accumulator">`_.transform`</a>
283 * <a href="#_unsetobject-path">`_.unset`</a>
284 * <a href="#_updateobject-path-updater">`_.update`</a>
285 * <a href="#_updatewithobject-path-updater-customizer">`_.updateWith`</a>
286 * <a href="#_valuesobject">`_.values`</a>
287 * <a href="#_valuesinobject">`_.valuesIn`</a>
294 * <a href="#_value">`_`</a>
295 * <a href="#_chainvalue">`_.chain`</a>
296 * <a href="#_tapvalue-interceptor">`_.tap`</a>
297 * <a href="#_thruvalue-interceptor">`_.thru`</a>
298 * <a href="#_prototypesymboliterator">`_.prototype[Symbol.iterator]`</a>
299 * <a href="#_prototypeatpaths">`_.prototype.at`</a>
300 * <a href="#_prototypechain">`_.prototype.chain`</a>
301 * <a href="#_prototypecommit">`_.prototype.commit`</a>
302 * <a href="#_prototypenext">`_.prototype.next`</a>
303 * <a href="#_prototypeplantvalue">`_.prototype.plant`</a>
304 * <a href="#_prototypereverse">`_.prototype.reverse`</a>
305 * <a href="#_prototypevalue" class="alias">`_.prototype.toJSON` -> `value`</a>
306 * <a href="#_prototypevalue">`_.prototype.value`</a>
307 * <a href="#_prototypevalue" class="alias">`_.prototype.valueOf` -> `value`</a>
314 * <a href="#_camelcasestring">`_.camelCase`</a>
315 * <a href="#_capitalizestring">`_.capitalize`</a>
316 * <a href="#_deburrstring">`_.deburr`</a>
317 * <a href="#_endswithstring-target-positionstringlength">`_.endsWith`</a>
318 * <a href="#_escapestring">`_.escape`</a>
319 * <a href="#_escaperegexpstring">`_.escapeRegExp`</a>
320 * <a href="#_kebabcasestring">`_.kebabCase`</a>
321 * <a href="#_lowercasestring">`_.lowerCase`</a>
322 * <a href="#_lowerfirststring">`_.lowerFirst`</a>
323 * <a href="#_padstring-length0-chars">`_.pad`</a>
324 * <a href="#_padendstring-length0-chars">`_.padEnd`</a>
325 * <a href="#_padstartstring-length0-chars">`_.padStart`</a>
326 * <a href="#_parseintstring-radix10">`_.parseInt`</a>
327 * <a href="#_repeatstring-n1">`_.repeat`</a>
328 * <a href="#_replacestring-pattern-replacement">`_.replace`</a>
329 * <a href="#_snakecasestring">`_.snakeCase`</a>
330 * <a href="#_splitstring-separator-limit">`_.split`</a>
331 * <a href="#_startcasestring">`_.startCase`</a>
332 * <a href="#_startswithstring-target-position0">`_.startsWith`</a>
333 * <a href="#_templatestring-options">`_.template`</a>
334 * <a href="#_tolowerstring">`_.toLower`</a>
335 * <a href="#_toupperstring">`_.toUpper`</a>
336 * <a href="#_trimstring-charswhitespace">`_.trim`</a>
337 * <a href="#_trimendstring-charswhitespace">`_.trimEnd`</a>
338 * <a href="#_trimstartstring-charswhitespace">`_.trimStart`</a>
339 * <a href="#_truncatestring-options">`_.truncate`</a>
340 * <a href="#_unescapestring">`_.unescape`</a>
341 * <a href="#_uppercasestring">`_.upperCase`</a>
342 * <a href="#_upperfirststring">`_.upperFirst`</a>
343 * <a href="#_wordsstring-pattern">`_.words`</a>
350 * <a href="#_attemptfunc-args">`_.attempt`</a>
351 * <a href="#_bindallobject-methodnames">`_.bindAll`</a>
352 * <a href="#_condpairs">`_.cond`</a>
353 * <a href="#_conformssource">`_.conforms`</a>
354 * <a href="#_constantvalue">`_.constant`</a>
355 * <a href="#_defaulttovalue-defaultvalue">`_.defaultTo`</a>
356 * <a href="#_flowfuncs">`_.flow`</a>
357 * <a href="#_flowrightfuncs">`_.flowRight`</a>
358 * <a href="#_identityvalue">`_.identity`</a>
359 * <a href="#_iterateefunc_identity">`_.iteratee`</a>
360 * <a href="#_matchessource">`_.matches`</a>
361 * <a href="#_matchespropertypath-srcvalue">`_.matchesProperty`</a>
362 * <a href="#_methodpath-args">`_.method`</a>
363 * <a href="#_methodofobject-args">`_.methodOf`</a>
364 * <a href="#_mixinobjectlodash-source-options">`_.mixin`</a>
365 * <a href="#_noconflict">`_.noConflict`</a>
366 * <a href="#_noop">`_.noop`</a>
367 * <a href="#_nthargn0">`_.nthArg`</a>
368 * <a href="#_overiteratees_identity">`_.over`</a>
369 * <a href="#_overeverypredicates_identity">`_.overEvery`</a>
370 * <a href="#_oversomepredicates_identity">`_.overSome`</a>
371 * <a href="#_propertypath">`_.property`</a>
372 * <a href="#_propertyofobject">`_.propertyOf`</a>
373 * <a href="#_rangestart0-end-step1">`_.range`</a>
374 * <a href="#_rangerightstart0-end-step1">`_.rangeRight`</a>
375 * <a href="#_runincontextcontextroot">`_.runInContext`</a>
376 * <a href="#_stubarray">`_.stubArray`</a>
377 * <a href="#_stubfalse">`_.stubFalse`</a>
378 * <a href="#_stubobject">`_.stubObject`</a>
379 * <a href="#_stubstring">`_.stubString`</a>
380 * <a href="#_stubtrue">`_.stubTrue`</a>
381 * <a href="#_timesn-iteratee_identity">`_.times`</a>
382 * <a href="#_topathvalue">`_.toPath`</a>
383 * <a href="#_uniqueidprefix">`_.uniqueId`</a>
390 * <a href="#_version">`_.VERSION`</a>
391 * <a href="#_templatesettings">`_.templateSettings`</a>
392 * <a href="#_templatesettingsescape">`_.templateSettings.escape`</a>
393 * <a href="#_templatesettingsevaluate">`_.templateSettings.evaluate`</a>
394 * <a href="#_templatesettingsimports">`_.templateSettings.imports`</a>
395 * <a href="#_templatesettingsinterpolate">`_.templateSettings.interpolate`</a>
396 * <a href="#_templatesettingsvariable">`_.templateSettings.variable`</a>
403 * <a href="#_templatesettingsimports_">`_.templateSettings.imports._`</a>
436 _.chunk(['a', 'b', 'c', 'd'], 2);
437 // => [['a', 'b'], ['c', 'd']]
439 _.chunk(['a', 'b', 'c', 'd'], 3);
440 // => [['a', 'b', 'c'], ['d']]
477 Creates a new array concatenating `array` with any additional arrays
516 **Note:** Unlike `_.pullAll`, this method returns a new array.
549 **Note:** Unlike `_.pullAllBy`, this method returns a new array.
586 **Note:** Unlike `_.pullAllWith`, this method returns a new array.
615 Creates a slice of `array` with `n` elements dropped from the beginning.
650 Creates a slice of `array` with `n` elements dropped from the end.
685 Creates a slice of `array` excluding elements dropped from the end.
731 Creates a slice of `array` excluding elements dropped from the beginning.
799 _.fill(array, 'a');
801 // => ['a', 'a', 'a']
910 Flattens `array` a single level deep.
1005 _.fromPairs([['a', 1], ['b', 2]]);
1006 // => { 'a': 1, 'b': 2 }
1201 Converts all elements in `array` into a string separated by `separator`.
1215 _.join(['a', 'b', 'c'], '~');
1216 // => 'a~b~c'
1299 var array = ['a', 'b', 'c', 'd'];
1336 var array = ['a', 'b', 'c', 'a', 'b', 'c'];
1338 _.pull(array, 'a', 'c');
1368 var array = ['a', 'b', 'c', 'a', 'b', 'c'];
1370 _.pullAll(array, ['a', 'c']);
1471 var array = ['a', 'b', 'c', 'd'];
1475 // => ['a', 'c']
1564 Creates a slice of `array` from `start` up to, but not including, `end`.
1591 Uses a binary search to determine the lowest index at which `value`
1653 This method is like `_.indexOf` except that it performs a binary
1654 search on a sorted `array`.
1743 This method is like `_.lastIndexOf` except that it performs a binary
1744 search on a sorted `array`.
1848 Creates a slice of `array` with `n` elements taken from the beginning.
1883 Creates a slice of `array` with `n` elements taken from the end.
1918 Creates a slice of `array` with elements taken from the end. Elements are
1964 Creates a slice of `array` with elements taken from the beginning. Elements
2103 Creates a duplicate-free version of an array, using
2212 var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);
2213 // => [['a', 1, true], ['b', 2, false]]
2216 // => [['a', 'b'], [1, 2], [true, false]]
2263 **Note:** Unlike `_.pull`, this method returns a new array.
2398 _.zip(['a', 'b'], [1, 2], [true, false]);
2399 // => [['a', 1, true], ['b', 2, false]]
2425 _.zipObject(['a', 'b'], [1, 2]);
2426 // => { 'a': 1, 'b': 2 }
2451 _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
2452 // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
2479 _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
2480 return a + b + c;
2588 **Note:** Unlike `_.remove`, this method returns a new array.
2708 Creates a flattened array of values by running each element in `collection`
2808 **Note:** As with other "Collections" methods, objects with a "length"
2832 _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
2835 // => Logs 'a' then 'b' (iteration order is not guaranteed).
2912 Checks if `value` is in `collection`. If `collection` is a string, it's
2913 checked for a substring of `value`, otherwise
2937 _.includes({ 'a': 1, 'b': 2 }, 1);
2954 are provided to each invoked method. If `path` is a function, it's invoked
3010 // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
3058 _.map({ 'a': 4, 'b': 8 }, square);
3164 Reduces `collection` to a value which is the accumulated result of running
3198 _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
3202 // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
3289 Gets a random element from `collection`.
3344 Creates an array of shuffled values, using a version of the
3387 _.size({ 'a': 1, 'b': 2 });
3448 running each element in a collection thru each iteratee. This method
3449 performs a stable sort, that is, it preserves the original sort order of
3523 The opposite of `_.before`; this method creates a function that invokes
3558 Creates a function that invokes `func`, with up to `n` arguments,
3585 Creates a function that invokes `func`, with the `this` binding and arguments
3613 Creates a function that invokes `func` with the `this` binding of `thisArg`
3618 may be used as a placeholder for partially applied arguments.
3661 Creates a function that invokes the method at `object[key]` with `partials`
3672 builds, may be used as a placeholder for partially applied arguments.
3719 Creates a function that accepts arguments of `func` and either invokes
3721 been provided, or returns a function that accepts the remaining `func`
3727 may be used as a placeholder for provided arguments.
3744 var abc = function(a, b, c) {
3745 return [a, b, c];
3777 builds, may be used as a placeholder for provided arguments.
3794 var abc = function(a, b, c) {
3795 return [a, b, c];
3822 Creates a debounced function that delays invoking `func` until after `wait`
3824 invoked. The debounced function comes with a `cancel` method to cancel
3825 delayed `func` invocations and a `flush` method to immediately invoke them.
3839 until to the next tick, similar to `setTimeout` with a timeout of `0`.
3946 Creates a function that invokes `func` with arguments reversed.
3963 flipped('a', 'b', 'c', 'd');
3964 // => ['d', 'c', 'b', 'a']
3975 Creates a function that memoizes the result of `func`. If `resolver` is
4000 var object = { 'a': 1, 'b': 2 };
4010 object.a = 2;
4015 values.cache.set(object, ['a', 'b']);
4017 // => ['a', 'b']
4031 Creates a function that negates the result of the predicate `func`. The
4062 Creates a function that is restricted to invoking `func` once. Repeat calls
4091 Creates a function that invokes `func` with its arguments transformed.
4132 Creates a function that invokes `func` with `partials` prepended to the
4138 builds, may be used as a placeholder for partially applied arguments.
4183 builds, may be used as a placeholder for partially applied arguments.
4223 Creates a function that invokes `func` with arguments arranged according
4240 var rearged = _.rearg(function(a, b, c) {
4241 return [a, b, c];
4244 rearged('b', 'c', 'a')
4245 // => ['a', 'b', 'c']
4256 Creates a function that invokes `func` with the `this` binding of the
4268 1. `func` *(Function)*: The function to apply a rest parameter to.
4293 Creates a function that invokes `func` with the `this` binding of the
4328 // => a Promise of 76
4339 Creates a throttled function that only invokes `func` at most once per
4340 every `wait` milliseconds. The throttled function comes with a `cancel`
4341 method to cancel delayed `func` invocations and a `flush` method to
4355 until to the next tick, similar to `setTimeout` with a timeout of `0`.
4395 Creates a function that accepts up to one argument, ignoring any
4421 Creates a function that provides `value` to `wrapper` as its first
4476 _.castArray({ 'a': 1 });
4477 // => [{ 'a': 1 }]
4504 Creates a shallow clone of `value`.
4526 var objects = [{ 'a': 1 }, { 'b': 2 }];
4554 var objects = [{ 'a': 1 }, { 'b': 2 }];
4667 var object = { 'a': 1, 'b': 2 };
4684 Performs a
4700 var object = { 'a': 1 };
4701 var other = { 'a': 1 };
4709 _.eq('a', 'a');
4712 _.eq('a', Object('a'));
4882 not a function and has a `value.length` that's an integer greater than or
4952 Checks if `value` is classified as a boolean primitive or object.
4961 *(boolean)*: Returns `true` if `value` is a boolean, else `false`.
4980 Checks if `value` is a buffer.
4989 *(boolean)*: Returns `true` if `value` is a buffer, else `false`.
5008 Checks if `value` is classified as a `Date` object.
5017 *(boolean)*: Returns `true` if `value` is a date object, else `false`.
5036 Checks if `value` is likely a DOM element.
5045 *(boolean)*: Returns `true` if `value` is a DOM element, else `false`.
5072 jQuery-like collections are considered empty if they have a `length` of `0`.
5073 Similarly, maps and sets are considered empty if they have a `size` of `0`.
5098 _.isEmpty({ 'a': 1 });
5110 Performs a deep comparison between two values to determine if they are
5132 var object = { 'a': 1 };
5133 var other = { 'a': 1 };
5222 Checks if `value` is a finite primitive number.
5235 *(boolean)*: Returns `true` if `value` is a finite number, else `false`.
5260 Checks if `value` is classified as a `Function` object.
5269 *(boolean)*: Returns `true` if `value` is a function, else `false`.
5326 Checks if `value` is a valid array-like length.
5339 *(boolean)*: Returns `true` if `value` is a valid length, else `false`.
5364 Checks if `value` is classified as a `Map` object.
5373 *(boolean)*: Returns `true` if `value` is a map, else `false`.
5392 Performs a partial deep comparison between `object` and `source` to
5402 for a list of supported value comparisons.
5412 *(boolean)*: Returns `true` if `object` is a match, else `false`.
5416 var object = { 'a': 1, 'b': 2 };
5447 *(boolean)*: Returns `true` if `object` is a match, else `false`.
5516 Checks if `value` is a pristine native function.
5522 attempt to fix the detection will be obstructed. As a result, we're left
5534 *(boolean)*: Returns `true` if `value` is a native function, else `false`.
5612 Checks if `value` is classified as a `Number` primitive or object.
5625 *(boolean)*: Returns `true` if `value` is a number, else `false`.
5687 and has a `typeof` result of "object".
5721 Checks if `value` is a plain object, that is, an object created by the
5722 `Object` constructor or one with a `[[Prototype]]` of `null`.
5731 *(boolean)*: Returns `true` if `value` is a plain object, else `false`.
5736 this.a = 1;
5760 Checks if `value` is classified as a `RegExp` object.
5769 *(boolean)*: Returns `true` if `value` is a regexp, else `false`.
5788 Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
5789 double precision number which isn't the result of a rounded unsafe integer.
5802 *(boolean)*: Returns `true` if `value` is a safe integer, else `false`.
5827 Checks if `value` is classified as a `Set` object.
5836 *(boolean)*: Returns `true` if `value` is a set, else `false`.
5855 Checks if `value` is classified as a `String` primitive or object.
5864 *(boolean)*: Returns `true` if `value` is a string, else `false`.
5883 Checks if `value` is classified as a `Symbol` primitive or object.
5892 *(boolean)*: Returns `true` if `value` is a symbol, else `false`.
5911 Checks if `value` is classified as a typed array.
5920 *(boolean)*: Returns `true` if `value` is a typed array, else `false`.
5967 Checks if `value` is classified as a `WeakMap` object.
5976 *(boolean)*: Returns `true` if `value` is a weak map, else `false`.
5995 Checks if `value` is classified as a `WeakSet` object.
6004 *(boolean)*: Returns `true` if `value` is a weak set, else `false`.
6100 _.toArray({ 'a': 1, 'b': 2 });
6104 // => ['a', 'b', 'c']
6121 Converts `value` to a finite number.
6232 Converts `value` to a number.
6266 Converts `value` to a plain object flattening inherited enumerable string
6286 _.assign({ 'a': 1 }, new Foo);
6287 // => { 'a': 1, 'b': 2 }
6289 _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
6290 // => { 'a': 1, 'b': 2, 'c': 3 }
6301 Converts `value` to a safe integer. A safe integer can be compared and
6336 Converts `value` to a string. An empty string is returned for `null`
6438 1. `dividend` *(number)*: The first number in a division.
6439 2. `divisor` *(number)*: The second number in a division.
6681 1. `multiplier` *(number)*: The first number in a multiplication.
6682 2. `multiplicand` *(number)*: The second number in a multiplication.
6739 1. `minuend` *(number)*: The first number in a subtraction.
6740 2. `subtrahend` *(number)*: The second number in a subtraction.
6902 Produces a random number between the inclusive `lower` and `upper` bounds.
6903 If only one argument is provided a number between `0` and the given number
6905 floats, a floating-point number is returned instead of an integer.
6917 3. `[floating]` *(boolean)*: Specify returning a floating-point number.
6931 // => a floating-point number between 0 and 5
6934 // => a floating-point number between 1.2 and 5.2
6972 this.a = 1;
6982 _.assign({ 'a': 0 }, new Foo, new Bar);
6983 // => { 'a': 1, 'c': 3 }
7016 this.a = 1;
7026 _.assignIn({ 'a': 0 }, new Foo, new Bar);
7027 // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
7068 defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
7069 // => { 'a': 1, 'b': 2 }
7107 defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
7108 // => { 'a': 1, 'b': 2 }
7133 var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
7135 _.at(object, ['a[0].b.c', 'a[1]']);
7147 Creates an object that inherits from the `prototype` object. If a
7195 Once a property is set, additional values of the same property are ignored.
7212 _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
7213 // => { 'a': 1, 'b': 2 }
7242 _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
7243 // => { 'a': { 'b': 2, 'c': 3 } }
7300 a collection in the opposite order.
7362 this.a = 1;
7371 // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
7398 this.a = 1;
7407 // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
7436 this.a = 1;
7445 // => Logs 'a' then 'b' (iteration order is not guaranteed).
7472 this.a = 1;
7481 // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
7507 this.a = _.constant('a');
7514 // => ['a', 'b']
7540 this.a = _.constant('a');
7547 // => ['a', 'b', 'c']
7574 var object = { 'a': [{ 'b': { 'c': 3 } }] };
7576 _.get(object, 'a[0].b.c');
7579 _.get(object, ['a', '0', 'b', 'c']);
7582 _.get(object, 'a.b.c', 'default');
7594 Checks if `path` is a direct property of `object`.
7608 var object = { 'a': { 'b': 2 } };
7609 var other = _.create({ 'a': _.create({ 'b': 2 }) });
7611 _.has(object, 'a');
7614 _.has(object, 'a.b');
7617 _.has(object, ['a', 'b']);
7620 _.has(other, 'a');
7632 Checks if `path` is a direct or inherited property of `object`.
7646 var object = _.create({ 'a': _.create({ 'b': 2 }) });
7648 _.hasIn(object, 'a');
7651 _.hasIn(object, 'a.b');
7654 _.hasIn(object, ['a', 'b']);
7684 var object = { 'a': 1, 'b': 2, 'c': 1 };
7716 var object = { 'a': 1, 'b': 2, 'c': 1 };
7719 // => { '1': ['a', 'c'], '2': ['b'] }
7724 // => { 'group1': ['a', 'c'], 'group2': ['b'] }
7750 var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };
7752 _.invoke(object, 'a[0].b.c.slice', 1, 3);
7783 this.a = 1;
7790 // => ['a', 'b'] (iteration order is not guaranteed)
7821 this.a = 1;
7828 // => ['a', 'b', 'c'] (iteration order is not guaranteed)
7856 _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
7911 skipped if a destination value exists. Array and plain object properties
7932 'a': [{ 'b': 2 }, { 'd': 4 }]
7936 'a': [{ 'c': 3 }, { 'e': 5 }]
7940 // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
7979 var object = { 'a': [1], 'b': [2] };
7980 var other = { 'a': [3], 'b': [4] };
7983 // => { 'a': [1, 3], 'b': [2, 4] }
8012 var object = { 'a': 1, 'b': '2', 'c': 3 };
8014 _.omit(object, ['a', 'c']);
8043 var object = { 'a': 1, 'b': '2', 'c': 3 };
8071 var object = { 'a': 1, 'b': '2', 'c': 3 };
8073 _.pick(object, ['a', 'c']);
8074 // => { 'a': 1, 'c': 3 }
8100 var object = { 'a': 1, 'b': '2', 'c': 3 };
8103 // => { 'a': 1, 'c': 3 }
8114 This method is like `_.get` except that if the resolved value is a
8131 var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
8133 _.result(object, 'a[0].b.c1');
8136 _.result(object, 'a[0].b.c2');
8139 _.result(object, 'a[0].b.c3', 'default');
8142 _.result(object, 'a[0].b.c3', _.constant('default'));
8154 Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
8175 var object = { 'a': [{ 'b': { 'c': 3 } }] };
8177 _.set(object, 'a[0].b.c', 4);
8178 console.log(object.a[0].b.c);
8218 _.setWith(object, '[0][1]', 'a', Object);
8219 // => { '0': { '1': 'a' } }
8231 which can be consumed by `_.fromPairs`. If `object` is a map or set, its
8249 this.a = 1;
8256 // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
8268 for `object` which can be consumed by `_.fromPairs`. If `object` is a map
8286 this.a = 1;
8293 // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
8304 An alternative to `_.reduce`; this method transforms `object` to a new
8308 provided, a new object with the same `[[Prototype]]` will be used. The
8331 _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
8334 // => { '1': ['a', 'c'], '2': ['b'] }
8362 var object = { 'a': [{ 'b': { 'c': 7 } }] };
8363 _.unset(object, 'a[0].b.c');
8367 // => { 'a': [{ 'b': {} }] };
8369 _.unset(object, ['a', '0', 'b', 'c']);
8373 // => { 'a': [{ 'b': {} }] };
8404 var object = { 'a': [{ 'b': { 'c': 3 } }] };
8406 _.update(object, 'a[0].b.c', function(n) { return n * n; });
8407 console.log(object.a[0].b.c);
8447 _.updateWith(object, '[0][1]', _.constant('a'), Object);
8448 // => { '0': { '1': 'a' } }
8476 this.a = 1;
8515 this.a = 1;
8539 Creates a `lodash` object which wraps `value` to enable implicit method
8541 and functions can be chained together. Methods that retrieve a single value
8542 or may return a primitive value will automatically end the chain sequence
8558 iteratee executions. Sections of a chain sequence qualify for shortcut
8560 one argument. The heuristic for whether a section qualifies for shortcut
8640 1. `value` *(&#42;)*: The value to wrap in a `lodash` instance.
8657 // Returns a wrapped value.
8675 Creates a `lodash` wrapper instance that wraps `value` with explicit method
8717 "tap into" a method chain sequence in order to modify intermediate results.
8751 results in a method chain sequence.
8823 var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
8825 _(object).at(['a[0].b.c', 'a[1]']).value();
8837 Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
8908 Gets the next value on a wrapped object following the
8939 Creates a clone of the chain sequence planting `value` as the wrapped value.
9159 characters use a third-party library like [_he_](https://mths.be/he).
9164 unless they're part of a tag or unquoted attribute value. See
9416 `undefined` or `0`, a `radix` of `10` is used unless `value` is a
9417 hexadecimal, in which case a `radix` of `16` is used.
9564 _.split('a-b-c', '-', 2);
9565 // => ['a', 'b']
9623 _.startsWith('abc', 'a');
9641 Creates a compiled template function that can interpolate data properties
9644 properties may be accessed as free variables in the template. If a setting
9678 // Use the "interpolate" delimiter to create a compiled template.
9715 // Use the `sourceURL` option to specify a custom sourceURL for the template.
9720 // Use the `variable` option to ensure a with-statement isn't used in the compiled template.
9752 Converts `string`, as a whole, to lower case just like
9784 Converts `string`, as a whole, to upper case just like
9960 HTML entities use a third-party library like [_he_](https://mths.be/he).
10150 Creates a function that iterates over `pairs` and invokes the corresponding
10167 [_.matches({ 'a': 1 }), _.constant('matches A')],
10172 func({ 'a': 1, 'b': 2 });
10175 func({ 'a': 0, 'b': 1 });
10178 func({ 'a': '1', 'b': '2' });
10190 Creates a function that invokes the predicate properties of `source` with
10191 the corresponding property values of a given object, returning `true` if
10210 { 'a': 2, 'b': 1 },
10211 { 'a': 1, 'b': 2 }
10215 // => [{ 'a': 1, 'b': 2 }]
10226 Creates a function that returns `value`.
10239 var objects = _.times(2, _.constant({ 'a': 1 }));
10242 // => [{ 'a': 1 }, { 'a': 1 }]
10256 Checks `value` to determine whether a default value should be returned in
10287 Creates a function that returns the result of invoking the given functions
10319 This method is like `_.flow` except that it creates a function that
10363 var object = { 'a': 1 };
10377 Creates a function that invokes `func` with the arguments of the created
10378 function. If `func` is a property name, the created function returns the
10379 property value for a given element. If `func` is an array or object, the
10387 1. `[func=_.identity]` *(&#42;)*: The value to convert to a callback.
10430 Creates a function that performs a partial deep comparison between a given
10441 for a list of supported value comparisons.
10455 { 'a': 1, 'b': 2, 'c': 3 },
10456 { 'a': 4, 'b': 5, 'c': 6 }
10459 _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
10460 // => [{ 'a': 4, 'b': 5, 'c': 6 }]
10471 Creates a function that performs a partial deep comparison between the
10472 value at `path` of a given object to `srcValue`, returning `true` if the
10478 `_.isEqual` for a list of supported value comparisons.
10493 { 'a': 1, 'b': 2, 'c': 3 },
10494 { 'a': 4, 'b': 5, 'c': 6 }
10497 _.find(objects, _.matchesProperty('a', 4));
10498 // => { 'a': 4, 'b': 5, 'c': 6 }
10509 Creates a function that invokes the method at `path` of a given object.
10525 { 'a': { 'b': _.constant(2) } },
10526 { 'a': { 'b': _.constant(1) } }
10529 _.map(objects, _.method('a.b'));
10532 _.map(objects, _.method(['a', 'b']));
10544 The opposite of `_.method`; this method creates a function that invokes
10545 the method at a given path of `object`. Any additional arguments are
10561 object = { 'a': array, 'b': array, 'c': array };
10563 _.map(['a[2]', 'c[0]'], _.methodOf(object));
10566 _.map([['a', '2'], ['c', '0']], _.methodOf(object));
10578 Adds all own enumerable string keyed function properties of a source
10579 object to the destination object. If `object` is a function, then methods
10583 **Note:** Use `_.runInContext` to create a pristine `lodash` function to
10626 Reverts the `_` variable to its previous value and returns a reference to
10667 Creates a function that gets the argument at index `n`. If `n` is negative,
10682 func('a', 'b', 'c', 'd');
10686 func('a', 'b', 'c', 'd');
10698 Creates a function that invokes `iteratees` with the arguments it receives
10726 Creates a function that checks if **all** of the `predicates` return
10760 Creates a function that checks if **any** of the `predicates` return
10794 Creates a function that returns the value at `path` of a given object.
10808 { 'a': { 'b': 2 } },
10809 { 'a': { 'b': 1 } }
10812 _.map(objects, _.property('a.b'));
10815 _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
10827 The opposite of `_.property`; this method creates a function that returns
10828 the value at a given path of `object`.
10842 object = { 'a': array, 'b': array, 'c': array };
10844 _.map(['a[2]', 'c[0]'], _.propertyOf(object));
10847 _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
10860 `start` up to, but not including, `end`. A step of `-1` is used if a negative
10957 Create a new pristine `lodash` function using the `context` object.
10966 *(Function)*: Returns a new `lodash` function.
10985 // Create a suped-up `defer` in Node.js.
10997 This method returns a new empty array.
11046 This method returns a new empty object.
11147 Converts `value` to a property path array.
11160 _.toPath('a.b.c');
11161 // => ['a', 'b', 'c']
11163 _.toPath('a[0].b.c');
11164 // => ['a', '0', 'b', 'c']
11175 Generates a unique ID. If `prefix` is given, the ID is appended to it.