\begin{quote}
Convert a value to an array \end{quote}
\hypertarget{md_sfcode_node_modules_arrify_readme_autotoc_md3213}{}\doxysection{Install}\label{md_sfcode_node_modules_arrify_readme_autotoc_md3213}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const arrify = require('arrify');}
\DoxyCodeLine{}
\DoxyCodeLine{arrify('unicorn');}
\DoxyCodeLine{//=> ['unicorn']}
\DoxyCodeLine{}
\DoxyCodeLine{arrify(['unicorn']);}
\DoxyCodeLine{//=> ['unicorn']}
\DoxyCodeLine{}
\DoxyCodeLine{arrify(null);}
\DoxyCodeLine{//=> []}
\DoxyCodeLine{}
\DoxyCodeLine{arrify(undefined);}
\DoxyCodeLine{//=> [] }

\end{DoxyCode}


{\itshape Supplying {\ttfamily null} or {\ttfamily undefined} results in an empty array.}\hypertarget{md_sfcode_node_modules_arrify_readme_autotoc_md3215}{}\doxysection{License}\label{md_sfcode_node_modules_arrify_readme_autotoc_md3215}
MIT © \href{http://sindresorhus.com}{\texttt{ Sindre Sorhus}} 