• Checks if the specified obj is an iterable by checking if it has a callable Symbol.iterator. Returns false for strings even when they are iterable to avoid iterating over the characters in a string.

    Type Parameters

    • T

    Parameters

    • obj: any

      Object to check

    Returns obj is Iterable<T>