\begin{quote}
Returns true if the value is a number. comprehensive tests. \end{quote}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32042}{}\doxysection{Install}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32042}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32043}{}\doxysection{Usage}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32043}
To understand some of the rationale behind the decisions made in this library (and to learn about some oddities of number evaluation in Java\+Script), \href{https://gist.github.com/jonschlinkert/e30c70c713da325d0e81}{\texttt{ see this gist}}.


\begin{DoxyCode}{0}
\DoxyCodeLine{var isNumber = require('is-\/number'); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32044}{}\doxysubsection{true}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32044}
See the \href{./test.js}{\texttt{ tests}} for more examples.


\begin{DoxyCode}{0}
\DoxyCodeLine{isNumber(5e3)      //=> 'true'}
\DoxyCodeLine{isNumber(0xff)     //=> 'true'}
\DoxyCodeLine{isNumber(-\/1.1)     //=> 'true'}
\DoxyCodeLine{isNumber(0)        //=> 'true'}
\DoxyCodeLine{isNumber(1)        //=> 'true'}
\DoxyCodeLine{isNumber(1.1)      //=> 'true'}
\DoxyCodeLine{isNumber(10)       //=> 'true'}
\DoxyCodeLine{isNumber(10.10)    //=> 'true'}
\DoxyCodeLine{isNumber(100)      //=> 'true'}
\DoxyCodeLine{isNumber('-\/1.1')   //=> 'true'}
\DoxyCodeLine{isNumber('0')      //=> 'true'}
\DoxyCodeLine{isNumber('012')    //=> 'true'}
\DoxyCodeLine{isNumber('0xff')   //=> 'true'}
\DoxyCodeLine{isNumber('1')      //=> 'true'}
\DoxyCodeLine{isNumber('1.1')    //=> 'true'}
\DoxyCodeLine{isNumber('10')     //=> 'true'}
\DoxyCodeLine{isNumber('10.10')  //=> 'true'}
\DoxyCodeLine{isNumber('100')    //=> 'true'}
\DoxyCodeLine{isNumber('5e3')    //=> 'true'}
\DoxyCodeLine{isNumber(parseInt('012'))   //=> 'true'}
\DoxyCodeLine{isNumber(parseFloat('012')) //=> 'true' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32045}{}\doxysubsection{False}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32045}
See the \href{./test.js}{\texttt{ tests}} for more examples.


\begin{DoxyCode}{0}
\DoxyCodeLine{isNumber('foo')             //=> 'false'}
\DoxyCodeLine{isNumber([1])               //=> 'false'}
\DoxyCodeLine{isNumber([])                //=> 'false'}
\DoxyCodeLine{isNumber(function () \{\})    //=> 'false'}
\DoxyCodeLine{isNumber(Infinity)          //=> 'false'}
\DoxyCodeLine{isNumber(NaN)               //=> 'false'}
\DoxyCodeLine{isNumber(new Array('abc'))  //=> 'false'}
\DoxyCodeLine{isNumber(new Array(2))      //=> 'false'}
\DoxyCodeLine{isNumber(new Buffer('abc')) //=> 'false'}
\DoxyCodeLine{isNumber(null)              //=> 'false'}
\DoxyCodeLine{isNumber(undefined)         //=> 'false'}
\DoxyCodeLine{isNumber(\{abc: 'abc'\})      //=> 'false' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32046}{}\doxysection{About}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32046}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32047}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32047}

\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/even}{\texttt{ even}}\+: Get the even numbered items from an array. $\vert$ \href{https://github.com/jonschlinkert/even}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/is-even}{\texttt{ is-\/even}}\+: Return true if the given number is even. $\vert$ \href{https://github.com/jonschlinkert/is-even}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/is-odd}{\texttt{ is-\/odd}}\+: Returns true if the given number is odd. $\vert$ \href{https://github.com/jonschlinkert/is-odd}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/is-primitive}{\texttt{ is-\/primitive}}\+: Returns {\ttfamily true} if the value is a primitive. $\vert$ \href{https://github.com/jonschlinkert/is-primitive}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/kind-of}{\texttt{ kind-\/of}}\+: Get the native type of a value. $\vert$ \href{https://github.com/jonschlinkert/kind-of}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/odd}{\texttt{ odd}}\+: Get the odd numbered items from an array. $\vert$ \href{https://github.com/jonschlinkert/odd}{\texttt{ homepage}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32048}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32048}
Pull requests and stars are always welcome. For bugs and feature requests, \href{../../issues/new}{\texttt{ please create an issue}}.\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32049}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32049}
\+\_\+(This document was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}} (a \href{https://github.com/verbose/verb}{\texttt{ verb}} generator), please don\textquotesingle{}t edit the readme directly. Any changes to the readme must be made in .verb.md.)\+\_\+

To generate the readme and API documentation with \href{https://github.com/verbose/verb}{\texttt{ verb}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/g verb verb-\/generate-\/readme \&\& verb }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32050}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32050}
Install dev dependencies\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/d \&\& npm test }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32051}{}\doxysubsection{Author}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32051}
{\bfseries{Jon Schlinkert}}


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{http://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32052}{}\doxysubsection{License}\label{md_sfcode_node_modules_watchpack_chokidar2_node_modules_is_number_README_autotoc_md32052}
Copyright © 2016, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \href{https://github.com/jonschlinkert/is-number/blob/master/LICENSE}{\texttt{ MIT license}}.

\DoxyHorRuler{0}


{\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+1.\+30, on September 10, 2016.} 