1BSON_ITER_BOOL(3)                   libbson                  BSON_ITER_BOOL(3)
2
3
4

SYNOPSIS

6          #define BSON_ITER_HOLDS_BOOL(iter) (bson_iter_type ((iter)) == BSON_TYPE_BOOL)
7
8          bool
9          bson_iter_bool (const bson_iter_t *iter);
10

PARAMETERS

12iter: A bson_iter_t.
13

DESCRIPTION

15       The  bson_iter_bool()  function  shall  return  the  boolean value of a
16       BSON_TYPE_BOOL element. It is a programming error to call this function
17       on  an  element  other  than  BSON_TYPE_BOOL.  You  can check this with
18       bson_iter_type() or BSON_ITER_HOLDS_BOOL().
19

RETURNS

21       Either true or false.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.25.1                           Nov 08, 2023                BSON_ITER_BOOL(3)
Impressum