---
name: "mongoc_optional_t"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_optional_t"
---

# mongoc\_optional\_t(3)

A struct to store optional boolean values.

## SYNOPSIS

Used to specify optional boolean flags, which may remain unset.

This is used within *mongoc\_server\_api\_t* to track whether a flag was explicitly set.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
