1BSON_ITER_BOOL(3) libbson BSON_ITER_BOOL(3)
2
3
4
6 bson_iter_bool - bson_iter_bool()
7
9 #define BSON_ITER_HOLDS_BOOL(iter) (bson_iter_type ((iter)) == BSON_TYPE_BOOL)
10
11 bool
12 bson_iter_bool (const bson_iter_t *iter);
13
15 • iter: A bson_iter_t.
16
18 The bson_iter_bool() function shall return the boolean value of a
19 BSON_TYPE_BOOL element. It is a programming error to call this function
20 on an element other than BSON_TYPE_BOOL. You can check this with
21 bson_iter_type() or BSON_ITER_HOLDS_BOOL().
22
24 Either true or false.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.20.0 Nov 18, 2021 BSON_ITER_BOOL(3)