GlobalObject.isNaN Method (Object)


This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether the specified number can be converted to a JScript number.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[JSFunctionAttribute(JSFunctionAttributeEnum.None, JSBuiltin.Global_isNaN)]
public static bool isNaN(
	object num


Type: System.Object

The number to check.

Return Value

Type: System.Boolean

true if num can be converted to a JScript number; otherwise, false.

.NET Framework
Available since 1.1
Return to top