MONGOC_URI_OPTION_IS_BOOL(3)

πŸ’– MONGOC_URI_OPTION_IS_BOOL(3) πŸ’–

okay so bestie, this is a libmongoc page and it's literally the vibe check for URI option names πŸ’… keep reading, it's short and slay.


✨ SYNOPSIS ✨

bool
mongoc_uri_option_is_bool (const char *option);

πŸŽ€ PARAMETERS πŸŽ€

  • option β€” the name of an option, case insensitive 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns true if the option is a known MongoDB URI option of boolean type, no cap.

So like, for example, "tls=false" is a valid MongoDB URI option, which means mongoc_uri_option_is_bool ("tls") is true ✨ iconic behavior honestly.


πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc


2009-present, MongoDB, Inc.


xoxo, libmongoc 2.5.6 β€” Oct 09, 2026 πŸ’…

πŸ“¦ where this page comes from