Instance Property

isNumber

A Boolean value that indicates whether the instance is a JavaScript numeric value.

Declaration

@property(readonly) BOOL isNumber;

Discussion

In JavaScript, there is no differentiation between types of numbers. Semantically, all numbers behave as double-precision floating-point types, except in special cases like bit operations.

See Also

Determining the Type of a JavaScript Value

isUndefined

A Boolean value that indicates whether the instance corresponds to the JavaScript undefined value.

isNull

A Boolean value that indicates whether the instance corresponds to the JavaScript null value.

isBoolean

A Boolean value that indicates whether the instance is a JavaScript Boolean value.

isString

A Boolean value that indicates whether the instance is a JavaScript String object.

isObject

A Boolean value that indicates whether the instance is a JavaScript object.

isArray

A Boolean value that indicates whether the instance is a JavaScript array value.

isDate

A Boolean value that indicates whether the instance is a JavaScript Date object.