Scroll to navigation

MONGOC_OPTIONAL_IS_SET(3) libmongoc MONGOC_OPTIONAL_IS_SET(3)

SYNOPSIS

bool
mongoc_optional_is_set (const mongoc_optional_t *opt);


Returns whether a value for a mongoc_optional_t <> was set.

PARAMETERS

opt: A mongoc_optional_t <>.

RETURNS

Returns true if a value was set, or false otherwise.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1