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