Lodash - Seq
Lodash 有多种易于使用的序列相关方法。本章将详细讨论这些方法。
Lodash 提供各种序列相关的方法,如下所示 −
| 序号 | 方法和语法 |
|---|---|
| 1 |
_.chain(value) |
| 2 |
_.tap(value, interceptor) |
| 3 |
_.thru(value, interceptor) |
| 4 |
_.prototype[Symbol.iterator]() |
| 5 |
_.prototype.at([paths]) |
| 6 |
_.prototype.chain() |
| 7 |
_.prototype.commit() |
| 8 |
_.prototype.next() |
| 9 |
_.prototype.plant(value) |
| 10 |
_.prototype.reverse() |
| 11 |
_.prototype.value() |
广告