目录
当前位置: 首页 > 文档资料 > Lazy.js 英文文档 >

first

优质
小牛编辑
121浏览
2023-12-01

An optimized version of Sequence#first, which creates an ArrayLikeSequence so that the result still provides random access.

Examples

Lazy([1, 2, 3]).first(2) // instanceof Lazy.ArrayLikeSequence