---
title: isNull
framework: javascriptcore
role: symbol
role_heading: Instance Property
path: javascriptcore/jsvalue/isnull
---

# isNull

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

## Declaration

```swift
var isNull: Bool { get }
```

## Discussion

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

- [isUndefined](javascriptcore/jsvalue/isundefined.md)
- [isBoolean](javascriptcore/jsvalue/isboolean.md)
- [isNumber](javascriptcore/jsvalue/isnumber.md)
- [isString](javascriptcore/jsvalue/isstring.md)
- [isObject](javascriptcore/jsvalue/isobject.md)
- [isArray](javascriptcore/jsvalue/isarray.md)
- [isDate](javascriptcore/jsvalue/isdate.md)
- [isSymbol](javascriptcore/jsvalue/issymbol.md)
