| BSON_OID_IS_VALID(3) | libbson | BSON_OID_IS_VALID(3) |
bool bson_oid_is_valid (const char *str, size_t length);
Checks if a string containing a hex encoded string is a valid BSON ObjectID.
true if str could be parsed.
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |