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