Provided by: libmongoc-doc_1.16.1-1build2_all 

NAME
mongoc_read_prefs_is_valid - mongoc_read_prefs_is_valid()
SYNOPSIS
bool
mongoc_read_prefs_is_valid (const mongoc_read_prefs_t *read_prefs);
PARAMETERS
• read_prefs: A mongoc_read_prefs_t.
DESCRIPTION
Performs a consistency check of read_prefs to ensure it makes sense and can be satisfied.
This only performs local consistency checks.
RETURNS
Returns true if the read pref is valid.
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc
1.16.1 Mar 03, 2020 MONGOC_READ_PREFS_IS_VALID(3)