@tsdotnet/linq - v1.5.11
    Preparing search index...

    Function unfold

    • A generator function for creating entries based upon the previous entry.

      Type Parameters

      • T

      Parameters

      • seed: T

        The first value to be fed the valueFactory.

      • valueFactory: SelectorWithIndex<T, T>
      • skipSeed: boolean = false

        If false (default), the seed value is the first value returned. Otherwise it is skipped.

      Returns Iterable<T>