jstests/libs/change_stream_util.js
/**
 * Returns true if feature flag 'featureFlagChangeStreamsVisibility' is enabled, false otherwise.
 */
Returns true if feature flag 'featureFlagChangeStreamsVisibility' is enabled, false otherwise.
Returns true if feature flag ' featureFlagChangeStreamsVisibility ' is enabled false otherwise .
function isChangeStreamsVisibilityEnabled(db) {
    const getParam = db.adminCommand({getParameter: 1, featureFlagChangeStreamsVisibility: 1});
    return getParam.hasOwnProperty("featureFlagChangeStreamsVisibility") &&
        getParam.featureFlagChangeStreamsVisibility.value;
}
function isChangeStreamsVisibilityEnabled ( db ) { const getParam = db . adminCommand ( { getParameter : 1 , featureFlagChangeStreamsVisibility : 1 } ) ; return getParam . hasOwnProperty ( "featureFlagChangeStreamsVisibility" ) && getParam . featureFlagChangeStreamsVisibility . value ; }
Returns true if feature flag 'featureFlagChangeStreamsVisibility' is enabled, false otherwise.
Returns true if feature flag ' featureFlagChangeStreamsVisibility ' is enabled false otherwise .