> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# json.isNull

> Value が Real JSON null sentinel である json.null かを返します。

<div className="real-function-page">
  ```lua theme={null}
  json.isNull(value: any): boolean
  ```

  ## 引数

  <ParamField path={"value"} type={"any"} required>
    Inspect する value。 json.null sentinel だけが true を返します。Lua nil と other values は false を返します。
  </ParamField>

  ## 戻り値

  <ResponseField name={"isNull"} type={"boolean"}>
    Value が exact json.null sentinel の場合 true、それ以外は false。
  </ResponseField>

  ## 例

  Value が Lua nil ではなく json.null sentinel かを check します。

  ```lua theme={null}
  local value = json.decode("null")

  if json.isNull(value) then
      print("The value is JSON null")
  end

  print(json.isNull(nil))
  ```
</div>
