"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = isNumeric;


/**
 * determines whether `val` is a numeric value
 * @name isNumeric
 * @param {*} val
 * @return {boolean}
 */
function isNumeric(val) {
  return !Number.isNaN(parseFloat(val)) && Number.isFinite(val);
}