Options
All
  • Public
  • Public/Protected
  • All
Menu

iterare

Index

Variables

hugeSet

hugeSet: Set<string> = new Set<string>()

suite

suite: Suite = new Suite()

Functions

isIterable

  • isIterable(candidate: any): boolean
  • Parameters

    • candidate: any

    Returns boolean

isIterator

  • isIterator(candidate: any): boolean
  • Parameters

    • candidate: any

    Returns boolean

iterate

  • Creates an Iterator with advanced chainable operator methods for any Iterable or Iterator

    Type parameters

    • T

    Parameters

    • collection: Iterator<T> | Iterable<T>

    Returns IteratorWithOperators<T>

toIterator

  • toIterator<T>(collection: Iterator<T> | Iterable<T>): Iterator<T>
  • Type parameters

    • T

    Parameters

    • collection: Iterator<T> | Iterable<T>

    Returns Iterator<T>

zip

  • Creates an Iterator that emits pairs of values from the two passed Iterators

    Type parameters

    • A

    • B

    Parameters

    • a: Iterator<A> | Iterable<A>
    • b: Iterator<B> | Iterable<B>

    Returns IteratorWithOperators<[A, B]>

Generated using TypeDoc