Skip to main content



IsNumeric Function

Returns true if a value is or can be converted to a number without error.

Syntax

IsNumeric(value)

Returns true if a value is or can be converted to a number without error.

Arguments

value Expression - A value.

Remarks

Example:

IsNumeric(1); // returns true

Example:

IsNumeric("1"); // returns true

Example:

IsNumeric("hello"); // returns false