#include <nng/nng.h>
typedef struct nng_stat nng_stat;
bool nng_stat_bool(nng_stat *stat);
--- version: tip layout: manpage_v2 title: nng_stat_bool(3) ---
nng_stat_bool - get statistic Boolean value
#include <nng/nng.h>
typedef struct nng_stat nng_stat;
bool nng_stat_bool(nng_stat *stat);
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 nng_stat_type() for a description of statistic types.
The boolean value associated with stat.
None.