src/mongo/shell/feature_compatibility_version.js
/**
 * Returns the FCV associated with a binary version.
 * eg. An input of 'last-lts' will return lastLTSFCV.
 */
Returns the FCV associated with a binary version.
eg. An input of 'last-lts' will return lastLTSFCV.
Returns the FCV associated with a binary version . eg . An input of ' last - lts ' will return lastLTSFCV .
function binVersionToFCV(binVersion) {
    if (binVersion === "latest") {
        return latestFCV;
    }
    return binVersion === "last-lts" ? lastLTSFCV : lastContinuousFCV;
}
function binVersionToFCV ( binVersion ) { if ( binVersion === "latest" ) { return latestFCV ; } return binVersion === "last-lts" ? lastLTSFCV : lastContinuousFCV ; }
Returns the FCV associated with a binary version.
Returns the FCV associated with a binary version .