Function arrayEquals

  • Compare arrays shallowly

    Type Parameters

    • T

    Parameters

    • left: T[] | readonly T[]

      One array to compare

    • right: T[] | readonly T[]

      The other array to compare

    Returns boolean

    Whether the two arrays are shallowly equal