// src/utils/validityChecks
/**
* Convert an string to number
* @param {any} input Input to convert to a number
* @returns {number} A float/number that represent input
*/
export function convertToNumber(input) {
if (isNaN(input)) {
throw new TypeError('Every value of the column array must be a number!');
}
return parseFloat(input);
}