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

# checkcaller

> Trả về liệu current Luau thread có nằm trong Real caller context hay không. Function không nhận arguments và push boolean result của the current caller context. Function không kiểm tra Lua call stack hoặc function object.

<div className="real-function-page">
  ```lua theme={null}
  checkcaller(): boolean
  ```

  ## Giá trị trả về

  <ResponseField name={"isCaller"} type={"boolean"}>
    true khi current Luau thread được tracked trong Real caller context; ngược lại false.
  </ResponseField>

  ## Ví dụ

  Check whether the current thread is tracked by Real.

  ```lua theme={null}
  local tracked = checkcaller()
  print(tracked)
  ```
</div>
