• Return the DOM siblings between the first and last node in the given array.

    Parameters

    • nodes: any[] | JQLite

      An array-like object

    Returns JQLite

    the inputted object or a JQLite collection containing the nodes