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

> Zwraca, czy value jest Real JSON null sentinel, json.null.

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

  ## Argumenty

  <ParamField path={"value"} type={"any"} required>
    Value do inspect. Tylko json.null value zwraca true; Lua nil i other values zwracaja false.
  </ParamField>

  ## Zwroty

  <ResponseField name={"isNull"} type={"boolean"}>
    true, gdy value jest exact json.null sentinel, otherwise false.
  </ResponseField>

  ## Przykład

  Check, czy value jest json.null sentinel zamiast 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>
