function compareVersion(input, version) {
  let numberInput,
    numberVersion;
  numberInput = parseFloat(input);
  numberVersion = parseFloat(version);
  if (!isNaN(numberInput) && !isNaN(numberVersion)) {
    return numberInput === numberVersion;
  }
  return false;
}
compares a version with an input
@param {string} input The input to compare
@param {string} version The version that will be used
@returns {boolean} wheter the input corresponds to the version