Creates union of two arrays

  • Type Parameters

    • T

    Parameters

    • a: T[]

      First array

    • b: T[]

      Second array

    Returns T[]

    Array containing unique elements from both arrays