limit

fiber limit(x:Real!, l:Integer) -> Real

Create a new iterator that wraps around another, but upper bounds its trip count.

  • x: Iterator.
  • l: Maximum trip count.

fiber limit(x:Integer!, l:Integer) -> Integer

Create a new iterator that wraps around another, but upper bounds its trip count.

  • x: Iterator.
  • l: Maximum trip count.

fiber limit(x:Boolean!, l:Integer) -> Boolean

Create a new iterator that wraps around another, but upper bounds its trip count.

  • x: Iterator.
  • l: Maximum trip count.