{\itshape Object}, any non-\/primitive value\hypertarget{md_sfcode_node_modules_ext_node_modules_type_docs_object_autotoc_md9963}{}\doxysection{$<$tt$>$object/is$<$/tt$>$}\label{md_sfcode_node_modules_ext_node_modules_type_docs_object_autotoc_md9963}
Confirms if passed value is an object


\begin{DoxyCode}{0}
\DoxyCodeLine{const isObject = require("{}type/object/is"{});}
\DoxyCodeLine{}
\DoxyCodeLine{isObject(\{\}); // true}
\DoxyCodeLine{isObject(true); // false}
\DoxyCodeLine{isObject(null); // false }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ext_node_modules_type_docs_object_autotoc_md9964}{}\doxysection{$<$tt$>$object/ensure$<$/tt$>$}\label{md_sfcode_node_modules_ext_node_modules_type_docs_object_autotoc_md9964}
If given argument is an object, it is returned back. Otherwise {\ttfamily Type\+Error} is thrown.


\begin{DoxyCode}{0}
\DoxyCodeLine{const ensureObject = require("{}type/object/ensure"{});}
\DoxyCodeLine{}
\DoxyCodeLine{const obj = \{\};}
\DoxyCodeLine{}
\DoxyCodeLine{ensureObject(obj); // obj}
\DoxyCodeLine{ensureString(null); // Thrown TypeError: null is not an object }

\end{DoxyCode}
 