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

# isexecutorclosure

> Returns whether the provided function is classified as executor-owned. The argument must be a function. The function does not inspect source text, debug names, bytecode hashes, or call stack ownership.

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

  ## Aliases

  * `isexploitfunction`
  * `isourclosure`
  * `checkclosure`

  ## Arguments

  <ParamField path={"func"} type={"function"} required>
    Function to classify. Passing a non-function raises a type error.
  </ParamField>

  ## Returns

  <ResponseField name={"isExecutorClosure"} type={"boolean"}>
    true when the function is classified as executor-owned; otherwise false.
  </ResponseField>

  ## Example

  Classify a closure with Real's executor-closure checks.

  ```lua theme={null}
  local result = isexecutorclosure(print)
  print(result)
  ```
</div>
