---
name: "mongoc_uri_option_is_int32"
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_uri_option_is_int32"
---

# mongoc\_uri\_option\_is\_int32(3)

## SYNOPSIS

```
bool
mongoc_uri_option_is_int32 (const char *option);
```

## PARAMETERS

- •

  **option**: The name of an option, case insensitive.

## DESCRIPTION

Returns true if the option is a known MongoDB URI option of integer type. For example, "zlibCompressionLevel=5" is a valid integer MongoDB URI option, so **mongoc\_uri\_option\_is\_int32 ("zlibCompressionLevel")** is true. This will also return true for all 64-bit integer options.

**SEE ALSO:**

```
mongoc_uri_option_is_int64()
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
