\begin{quote}
Create an array of unique values, in order, from the input arrays \end{quote}
\hypertarget{md_sfcode_node_modules_del_node_modules_array_union_readme_autotoc_md8000}{}\doxysection{Install}\label{md_sfcode_node_modules_del_node_modules_array_union_readme_autotoc_md8000}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save array-\/union }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_del_node_modules_array_union_readme_autotoc_md8001}{}\doxysection{Usage}\label{md_sfcode_node_modules_del_node_modules_array_union_readme_autotoc_md8001}

\begin{DoxyCode}{0}
\DoxyCodeLine{const arrayUnion = require('array-\/union');}
\DoxyCodeLine{}
\DoxyCodeLine{arrayUnion([1, 1, 2, 3], [2, 3]);}
\DoxyCodeLine{//=> [1, 2, 3]}
\DoxyCodeLine{}
\DoxyCodeLine{arrayUnion(['foo', 'foo', 'bar'], ['foo']);}
\DoxyCodeLine{//=> ['foo', 'bar'] }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_del_node_modules_array_union_readme_autotoc_md8002}{}\doxysection{License}\label{md_sfcode_node_modules_del_node_modules_array_union_readme_autotoc_md8002}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 