• Converts an existing string into an iterable of characters.

    Parameters

    • source: string

      The string to convert to an iterable.

    Returns Iterable<string>

    An terable stream of characters from the source.

  • Converts the iterable like input into an iterable.

    Type Parameters

    • T

      The tyep of elements in the source iterable.

    Parameters

    • source: Iterable<T>

      The iterable to convert to an iterable.

    Returns Iterable<T>

    An iterable stream of the source sequence.

  • Converts an array-like object to an iterable.

    Type Parameters

    • T

      The type of elements in the source array-like sequence.

    Parameters

    • source: ArrayLike<T>

      The array-like sequence to convert to an iterable.

    Returns Iterable<T>

    The iterable containing the elements from the array-like sequence.

  • Converts the object into a singleton in an iterable sequence.

    Type Parameters

    • T

      The type of element to turn into an iterable sequence.

    Parameters

    • source: T

      The item to turn into an iterable sequence.

    Returns Iterable<T>

    An iterable sequence from the source object.

Generated using TypeDoc