function isNumber(value) {
  return typeof value === 'number' && !isNaN(value);
}
Check if the given value is a number.
@param {*} value - The value to check.
@returns {boolean} Returns `true` if the given value is a number, else `false`.