Export (0) Print
Expand All

GlobalObject.isNaN Method

This API supports the .NET Framework 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
)

Parameters

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft