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

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

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

\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_protractor_node_modules_array_union_readme_autotoc_md22661}{}\doxysection{License}\label{md_sfcode_node_modules_protractor_node_modules_array_union_readme_autotoc_md22661}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 