\begin{quote}
Node.\+js 0.\+12 \href{http://nodejs.org/api/path.html\#path_path_isabsolute_path}{\texttt{ {\ttfamily path.\+is\+Absolute()}}} \href{https://ponyfill.com}{\texttt{ ponyfill}} \end{quote}
\hypertarget{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20285}{}\doxysection{Install}\label{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20285}

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

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

\begin{DoxyCode}{0}
\DoxyCodeLine{const pathIsAbsolute = require('path-\/is-\/absolute');}
\DoxyCodeLine{}
\DoxyCodeLine{// Running on Linux}
\DoxyCodeLine{pathIsAbsolute('/home/foo');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{pathIsAbsolute('C:/Users/foo');}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{}
\DoxyCodeLine{// Running on Windows}
\DoxyCodeLine{pathIsAbsolute('C:/Users/foo');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{pathIsAbsolute('/home/foo');}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{}
\DoxyCodeLine{// Running on any OS}
\DoxyCodeLine{pathIsAbsolute.posix('/home/foo');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{pathIsAbsolute.posix('C:/Users/foo');}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{pathIsAbsolute.win32('C:/Users/foo');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{pathIsAbsolute.win32('/home/foo');}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20287}{}\doxysection{API}\label{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20287}
See the \href{http://nodejs.org/api/path.html\#path_path_isabsolute_path}{\texttt{ {\ttfamily path.\+is\+Absolute()} docs}}.\hypertarget{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20288}{}\doxysubsection{path\+Is\+Absolute(path)}\label{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20288}
\hypertarget{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20289}{}\doxysubsection{path\+Is\+Absolute.\+posix(path)}\label{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20289}
POSIX specific version.\hypertarget{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20290}{}\doxysubsection{path\+Is\+Absolute.\+win32(path)}\label{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20290}
Windows specific version.\hypertarget{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20291}{}\doxysection{License}\label{md_sfcode_node_modules_path_is_absolute_readme_autotoc_md20291}
MIT © \href{https://sindresorhus.com}{\texttt{ Sindre Sorhus}} 