Function withInitial

  • Creates a new iterator that is equivalent to the given iterator with the given initial state.

    Type Parameters

    • S

    • O

    Parameters

    Returns FAIterator<S, O>