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

> 返回 current Luau thread 是否存在于 Real caller context。该 function 不接受 arguments，并 push the current caller context 的 boolean result。function 不检查 Lua call stack 或 function object。

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

  ## 返回值

  <ResponseField name={"isCaller"} type={"boolean"}>
    当 current Luau thread 在 Real caller context 中 tracked 时为 true；否则为 false。
  </ResponseField>

  ## 示例

  Check whether the current thread is tracked by Real.

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