\begin{quote}
Returns true if an object was created by the {\ttfamily Object} constructor. \end{quote}
\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13181}{}\doxysection{Install}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13181}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


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

\end{DoxyCode}


Use \href{https://github.com/jonschlinkert/isobject}{\texttt{ isobject}} if you only want to check if the value is an object and not an array or null.\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13182}{}\doxysection{Usage}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13182}

\begin{DoxyCode}{0}
\DoxyCodeLine{var isPlainObject = require('is-\/plain-\/object'); }

\end{DoxyCode}


{\bfseries{true}} when created by the {\ttfamily Object} constructor.


\begin{DoxyCode}{0}
\DoxyCodeLine{isPlainObject(Object.create(\{\}));}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{isPlainObject(Object.create(Object.prototype));}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{isPlainObject(\{foo: 'bar'\});}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{isPlainObject(\{\});}
\DoxyCodeLine{//=> true }

\end{DoxyCode}


{\bfseries{false}} when not created by the {\ttfamily Object} constructor.


\begin{DoxyCode}{0}
\DoxyCodeLine{isPlainObject(1);}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{isPlainObject(['foo', 'bar']);}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{isPlainObject([]);}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{isPlainObject(new Foo);}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{isPlainObject(null);}
\DoxyCodeLine{//=> false}
\DoxyCodeLine{isPlainObject(Object.create(null));}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13183}{}\doxysection{About}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13183}
\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13184}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13184}

\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/is-number}{\texttt{ is-\/number}}\+: Returns true if the value is a number. comprehensive tests. $\vert$ \href{https://github.com/jonschlinkert/is-number}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/isobject}{\texttt{ isobject}}\+: Returns true if the value is an object and not an array or null. $\vert$ \href{https://github.com/jonschlinkert/isobject}{\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}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13185}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13185}
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_is_plain_object_README_autotoc_md13186}{}\doxysubsection{Contributors}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13186}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endhead
17   &\href{https://github.com/jonschlinkert}{\texttt{ jonschlinkert}}    \\\cline{1-2}
6   &\href{https://github.com/stevenvachon}{\texttt{ stevenvachon}}    \\\cline{1-2}
3   &\href{https://github.com/onokumus}{\texttt{ onokumus}}    \\\cline{1-2}
1   &\href{https://github.com/wtgtybhertgeghgtwtg}{\texttt{ wtgtybhertgeghgtwtg}}   \\\cline{1-2}
\end{longtabu}
\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13187}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13187}
\+\_\+(This project\textquotesingle{}s readme.\+md is generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb}}, please don\textquotesingle{}t edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)\+\_\+

To generate the readme, run the following command\+:


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13188}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13188}
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command\+:


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

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


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{https://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_is_plain_object_README_autotoc_md13190}{}\doxysubsection{License}\label{md_sfcode_node_modules_is_plain_object_README_autotoc_md13190}
Copyright © 2017, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \mbox{[}MIT License\mbox{]}(LICENSE).

\DoxyHorRuler{0}


{\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+6.\+0, on July 11, 2017.} 