Contents

isNull

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

Declaration

var isNull: Bool { get }

Discussion

The JavaScript null value is used only in cases where an actual value is expected but none is applicable. Note that null is not the same as undefined.

See Also

Determining the Type of a JavaScript Value