> ## 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>
    Value для inspect. Только json.null value возвращает true; Lua nil и other values возвращают false.
  </ParamField>

  ## Возвраты

  <ResponseField name={"isNull"} type={"boolean"}>
    true, когда value является exact json.null sentinel, otherwise false.
  </ResponseField>

  ## Пример

  Check, является ли value json.null sentinel, а не Lua nil.

  ```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>
