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

dropWhile

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

Creates a new sequence comprising the elements from this sequence after those that satisfy some predicate. The sequence starts with the first element that does not match the predicate.

Signature

Sequence.dropWhile = function(predicate) { /*...*/ }
Sequence.dropWhile = function dropWhile(predicate) {
  return new DropWhileSequence(this, predicate);
}
NameType(s)Description
predicateFunction
returnsSequence

The new sequence