MONGOC_URI_OPTION_IS_BOOL(3) libmongoc MONGOC_URI_OPTION_IS_BOOL(3)

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, "tls=false" is a valid MongoDB URI option, so mongoc_uri_option_is_bool ("tls") is true.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0