DOKK / manpages / debian 10 / libmongoc-doc / mongoc_uri_option_is_bool.3.en
MONGOC_URI_OPTION_IS_BOOL(3) MongoDB C Driver MONGOC_URI_OPTION_IS_BOOL(3)

mongoc_uri_option_is_bool - mongoc_uri_option_is_bool()

bool
mongoc_uri_option_is_bool (const char *option);


option: The name of an option, case insensitive.

Returns true if the option is a known MongoDB URI option of boolean type. For example, "ssl=false" is a valid MongoDB URI option, so mongoc_uri_option_is_bool ("ssl") is true.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0