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

# ishiddenstack

> Returns whether a function, or the function at a stack level, is marked as hidden. target must be a function or stack level number. Invalid stack levels raise "Level out of range". isstackhidden is an alias.

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

  ## أسماء بديلة

  * `isstackhidden`

  ## الوسائط

  <ParamField path={"target"} type={"function | number"} required>
    Function or stack level number to check.
  </ParamField>

  ## القيم الراجعة

  <ResponseField name={"hidden"} type={"boolean"}>
    true when the resolved function is marked as hidden; otherwise false.
  </ResponseField>

  ## مثال

  Check whether a function closure is present in hidden stack tracking.

  ```lua theme={null}
  local function target()
  end

  print(ishiddenstack(target))
  ```
</div>
