mongoc_optional_value()

Synopsis

bool
mongoc_optional_value (const mongoc_optional_t *opt);

Returns the value for a mongoc_optional_t.

Parameters

Returns

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