• Returns true if arg implements the "Iterator" interface, i.e. it has a next method.

    Parameters

    • arg: any

    Returns arg is Iterator<any, any, any>