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

> Tra ve value co phai Real JSON null sentinel, json.null, hay khong.

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

  ## Đối số

  <ParamField path={"value"} type={"any"} required>
    Value de inspect. Chi json.null value tra ve true; Lua nil va other values tra ve false.
  </ParamField>

  ## Giá trị trả về

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

  ## Ví dụ

  Check value co phai json.null sentinel thay vi Lua nil hay khong.

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