Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BSON_ITER_BOOL(3)		    libbson		     BSON_ITER_BOOL(3)

SYNOPSIS
	  #define BSON_ITER_HOLDS_BOOL(iter) (bson_iter_type ((iter)) == BSON_TYPE_BOOL)

	  bool
	  bson_iter_bool (const	bson_iter_t *iter);

PARAMETERS
        iter: A bson_iter_t.

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

RETURNS
       Either true or false.

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025		     BSON_ITER_BOOL(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_iter_bool&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help