src/util/methodDataUtil.js
function getMainAlias(version, method) {
    const data = getMethodData(version)
    return data[method] ? method : _.findKey(data, methodData => _.includes(methodData.aliases, method))
}
function getMainAlias(version, method) {
    const data = getMethodData(version)
    return data[method] ? method : _.findKey(data, methodData => _.includes(methodData.aliases, method))
}
function getMainAlias ( version , method ) { const data = getMethodData ( version ) return data [ method ] ? method : _ . findKey ( data , methodData => _ . includes ( methodData . aliases , method ) ) }
Returns the main alias for the method in the specified version.
@param {number} version
@param {string} method
@returns {string}
Returns the main alias for the method in the specified version .