Function isIterable

  • Tests for whether an object is iterable.

    Note: Excludes strings in iterable test even though they are technically iterable.

    Type Parameters

    • T

    Parameters

    • value: unknown

      Any value.

    Returns value is Iterable<T, any, any>

    Whether object is iterable.