#define BSON_ITER_HOLDS_DOUBLE(iter) \
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_ITER_DOUBLE(3)
Description
Fetches the contents of a BSON_TYPE_DOUBLE field.
Parameters
• iter: A bson_iter_t.
Returns
A double.
Synopsis
#define BSON_ITER_HOLDS_DOUBLE(iter) \
(bson_iter_type ((iter)) == BSON_TYPE_DOUBLE)
double
bson_iter_double (const bson_iter_t *iter);
