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

NAME

6       bson_iter_bool - bson_iter_bool()
7

SYNOPSIS

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

PARAMETERS

15iter: A bson_iter_t.
16

DESCRIPTION

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

RETURNS

24       Either true or false.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.17.6                           Jun 03, 2021                BSON_ITER_BOOL(3)
Impressum