Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          bool
          mongoc_optional_value (const mongoc_optional_t *opt);

       Returns the value for a mongoc_optional_t <>.

PARAMETERS

opt: A mongoc_optional_t <>.

RETURNS

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

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                          MONGOC_OPTIONAL_VALUE(3)