1MONGOC_OPTIONAL_VALUE(3) libmongoc MONGOC_OPTIONAL_VALUE(3)
23
4
NAME
6mongoc_optional_value - mongoc_optional_value()
7
SYNOPSIS
9bool
10mongoc_optional_value (const mongoc_optional_t *opt);
1112
Returns the value for a mongoc_optional_t.
13
PARAMETERS
15• opt: A mongoc_optional_t.
16
RETURNS
18Returns the value that was set on the mongoc_optional_t. If no value
19was set, false is returned.
20
AUTHOR
22MongoDB, Inc
23
COPYRIGHT
252017-present, MongoDB, Inc
2627
28
29
30
1.20.0 Nov 18, 2021 MONGOC_OPTIONAL_VALUE(3)