\begin{quote}
Returns true if a value is a plain object, array or function. \end{quote}
\hypertarget{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10030}{}\doxysection{Install}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10030}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


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

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

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

\end{DoxyCode}


Returns true if the value is any of the following\+:


\begin{DoxyItemize}
\item array
\item plain object
\item function
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10032}{}\doxysection{Notes}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10032}
All objects in Java\+Script can have keys, but it\textquotesingle{}s a pain to check for this, since we ether need to verify that the value is not {\ttfamily null} or {\ttfamily undefined} and\+:


\begin{DoxyItemize}
\item the value is not a primitive, or
\item that the object is a plain object, function or array
\end{DoxyItemize}

Also note that an {\ttfamily extendable} object is not the same as an \href{https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible}{\texttt{ extensible object}}, which is one that (in es6) is not sealed, frozen, or marked as non-\/extensible using {\ttfamily prevent\+Extensions}.\hypertarget{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10033}{}\doxysection{Release history}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10033}
\hypertarget{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10034}{}\doxysubsection{v1.\+0.\+0 -\/ 2017/07/20}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10034}
{\bfseries{Breaking changes}}


\begin{DoxyItemize}
\item No longer considers date, regex or error objects to be extendable
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10035}{}\doxysection{About}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10035}
\hypertarget{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10036}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10036}

\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/assign-deep}{\texttt{ assign-\/deep}}\+: Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… \href{https://github.com/jonschlinkert/assign-deep}{\texttt{ more}} $\vert$ \mbox{[}homepage\mbox{]}(\href{https://github.com/jonschlinkert/assign-deep}{\texttt{ https\+://github.\+com/jonschlinkert/assign-\/deep}} \char`\"{}\+Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.\char`\"{})
\item \href{https://www.npmjs.com/package/is-equal-shallow}{\texttt{ is-\/equal-\/shallow}}\+: Does a shallow comparison of two objects, returning false if the keys or values differ. $\vert$ \href{https://github.com/jonschlinkert/is-equal-shallow}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/is-plain-object}{\texttt{ is-\/plain-\/object}}\+: Returns true if an object was created by the {\ttfamily Object} constructor. $\vert$ \href{https://github.com/jonschlinkert/is-plain-object}{\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_extend_shallow_node_modules_is_extendable_README_autotoc_md10037}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10037}
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_extend_shallow_node_modules_is_extendable_README_autotoc_md10038}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10038}
\+\_\+(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_extend_shallow_node_modules_is_extendable_README_autotoc_md10039}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10039}
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_extend_shallow_node_modules_is_extendable_README_autotoc_md10040}{}\doxysubsection{Author}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10040}
{\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_extend_shallow_node_modules_is_extendable_README_autotoc_md10041}{}\doxysubsection{License}\label{md_sfcode_node_modules_extend_shallow_node_modules_is_extendable_README_autotoc_md10041}
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 20, 2017.} 