code: function checkNumericLike(value, message) {
  			if (value == undefined || value === Infinity || isNaN(value)) {//checks also for null.
  				throw message;
  			}
  		}
docs: Verifies the given value is numeric like, i.e. 3, "3" and throws an error if it is not.
  @param {any} value The value of any type to check. If null or undefined, this method throws an error.
  @param {string} message The message to be used if an error is to be thrown
  @throws will throw an error if the value is null or undefined or is not like a number