Options
All
  • Public
  • Public/Protected
  • All
Menu

split-iterable — Reference

Index

Type aliases

MaybeAsyncIterable

MaybeAsyncIterable<Item>: Iterable<Item> | AsyncIterable<Item>

Type parameters

  • Item

Functions

splitAsyncIterable

splitIterable

  • splitIterable<Item>(iterable: Iterable<Item>, sep: SepFunc<Item>): Generator<Item[], void, unknown>
  • Type parameters

    • Item

    Parameters

    • iterable: Iterable<Item>
    • sep: SepFunc<Item>

    Returns Generator<Item[], void, unknown>

Generated using TypeDoc