• Type Parameters

    • T

      The inner type of the array

    Parameters

    • orientation: boolean
    • items: T[]

    Returns T[]

    The conditionally reversed array