Instance Property

isString

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

Declaration

var isString: Bool { get }

See Also

Determining the Type of a JavaScript Value

var isUndefined: Bool

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

var isNull: Bool

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

var isBoolean: Bool

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

var isNumber: Bool

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

var isObject: Bool

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

var isArray: Bool

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

var isDate: Bool

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