Function isIterable

  • Object can be used in a for-of loop. N.B. Plain objects can be used in for-in but not for-of, so this function will return false for them.

    Parameters

    • obj: any

    Returns obj is Iterable<unknown>

Generated using TypeDoc