DOKK / manpages / debian 13 / libmongoc-doc / mongoc_optional_value.3.en
MONGOC_OPTIONAL_VALUE(3) libmongoc MONGOC_OPTIONAL_VALUE(3)

bool
mongoc_optional_value (const mongoc_optional_t *opt);


Returns the value for a mongoc_optional_t.

opt: A mongoc_optional_t.

Returns the value that was set on the mongoc_optional_t. If no value was set, false is returned.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4