isNumeric

Utils
Name: isNumeric

Category: Utils

Description:
    Test whether a value is a numeric value. Returns true when the input is a number, BigNumber, Fraction, or boolean.

Syntax:
    isNumeric(x)

Examples:
    isNumeric(2)
        true
    isNumeric("2")
        false
    hasNumericValue("2")
        Error: Undefined function hasNumericValue
    isNumeric(0)
        true
    isNumeric(bignumber(500))
        true
    isNumeric(fraction(0.125))
        true
    isNumeric(2 + 3i)
        Error: Undefined symbol i
    isNumeric([2.3, "foo", false])
        [true, false, true]

See also: isInteger, isZero, isNegative, isPositive, isNaN, hasNumericValue, isFinite, isBounded