## nng_stat_bool Get statistic Boolean value. ### Synopsis ```c #include typedef struct nng_stat nng_stat; bool nng_stat_bool(nng_stat *stat); ``` ### Description The `nng_stat_bool` function returns the Boolean value for the statistic _stat_. Otherwise, if the statistic is not of Boolean type, the result is indeterminate. See xref:nng_stat_type.adoc[`nng_stat_type`] for a description of statistic types. ### Return Values The boolean value associated with _stat_. ### See Also xref:nng_stats_get.adoc[nng_stats_get], xref:nng_stat_type.adoc[nng_stat_type], xref:nng_stat_unit.adoc[nng_stat_unit], xref:nng_stat_value.adoc[nng_stat_value]