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