{\itshape Value}, any value that\textquotesingle{}s neither {\ttfamily null} nor {\ttfamily undefined} .\hypertarget{md_sfcode_node_modules_ext_node_modules_type_docs_value_autotoc_md9994}{}\doxysection{$<$tt$>$value/is$<$/tt$>$}\label{md_sfcode_node_modules_ext_node_modules_type_docs_value_autotoc_md9994}
Confirms whether passed argument is a {\itshape value}


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

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ext_node_modules_type_docs_value_autotoc_md9995}{}\doxysection{$<$tt$>$value/ensure$<$/tt$>$}\label{md_sfcode_node_modules_ext_node_modules_type_docs_value_autotoc_md9995}
Ensures if given argument is a {\itshape value}. If it\textquotesingle{}s a value it is returned back, if not {\ttfamily Type\+Error} is thrown


\begin{DoxyCode}{0}
\DoxyCodeLine{const ensureValue = require("{}type/value/ensure"{});}
\DoxyCodeLine{}
\DoxyCodeLine{const obj = \{\};}
\DoxyCodeLine{}
\DoxyCodeLine{ensureValue(obj); // obj}
\DoxyCodeLine{ensureValue(null); // Thrown TypeError: Cannot use null }

\end{DoxyCode}
 