\begin{quote}
Returns true if a value is any of the object types\+: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.\+g. \char`\"{}can the value have keys?\char`\"{} \end{quote}
\hypertarget{md_sfcode_node_modules_is_extendable_README_autotoc_md13094}{}\doxysection{Install}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13094}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}


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

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

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

\end{DoxyCode}


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


\begin{DoxyItemize}
\item {\ttfamily array}
\item {\ttfamily regexp}
\item {\ttfamily plain object}
\item {\ttfamily function}
\item {\ttfamily date}
\item {\ttfamily error}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_is_extendable_README_autotoc_md13096}{}\doxysection{Notes}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13096}
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 an {\ttfamily object}, {\ttfamily function}
\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_is_extendable_README_autotoc_md13097}{}\doxysection{Related projects}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13097}

\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert/assign-deep}{\texttt{ assign-\/deep}}\+: Deeply assign the enumerable properties of source objects to a destination object.
\item \href{https://github.com/jonschlinkert/extend-shallow}{\texttt{ extend-\/shallow}}\+: Extend an object with the properties of additional objects. node.\+js/javascript util.
\item \href{https://github.com/jonschlinkert/isobject}{\texttt{ isobject}}\+: Returns true if the value is an object and not an array or null.
\item \href{https://github.com/jonschlinkert/is-plain-object}{\texttt{ is-\/plain-\/object}}\+: Returns true if an object was created by the {\ttfamily Object} constructor.
\item \href{https://github.com/jonschlinkert/is-equal-shallow}{\texttt{ is-\/equal-\/shallow}}\+: Does a shallow comparison of two objects, returning false if the keys or values differ.
\item \href{https://github.com/jonschlinkert/kind-of}{\texttt{ kind-\/of}}\+: Get the native type of a value.
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_is_extendable_README_autotoc_md13098}{}\doxysection{Running tests}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13098}
Install dev dependencies\+:


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_is_extendable_README_autotoc_md13099}{}\doxysection{Contributing}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13099}
Pull requests and stars are always welcome. For bugs and feature requests, \href{https://github.com/jonschlinkert/is-extendable/issues/new}{\texttt{ please create an issue}}\hypertarget{md_sfcode_node_modules_is_extendable_README_autotoc_md13100}{}\doxysection{Author}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13100}
{\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_is_extendable_README_autotoc_md13101}{}\doxysection{License}\label{md_sfcode_node_modules_is_extendable_README_autotoc_md13101}
Copyright © 2015 Jon Schlinkert Released under the MIT license.

\DoxyHorRuler{0}


{\itshape This file was generated by \href{https://github.com/assemble/verb-cli}{\texttt{ verb-\/cli}} on July 04, 2015.} 