mixarrays
v1.0.3
Published
a simple utility to join 2 array values into one array without repeated data
Readme
mixarrays
A simple utility to join 2 array values into one array without repeated data Supports both single numbers and arrays of numbers
Installation
npm i mixarrays
Usage
import { mixArrays } from 'mixarrays';
console.log(mixArrays(['🐵', '🍌', '🦍'], ['🐵', '🍌', '🦍']));
// [ '🐵', '🍌', '🦍' ]
console.log(mixArrays(['🍉', '🍉', '🍉'], ['🍉', '🍉', '🍉']));
// [ '🍉' ]