Function arrays_merge

  • Combines two arrays of strings, one item from each array at a time, into new array. Ignores duplicates. Like taking two decks of cards, and making one double deck, by taking one card at a time from each deck.

    Returns

    • array of strings, combined from both arrays

    Parameters

    • arr1: string[]

      array of strings

    • arr2: string[]

      array of strings

    Returns string[]

Generated using TypeDoc