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

# isparallel

> 从当前 Luau thread 的 ScriptContext DataModel 返回 boolean。该 function 不接受 arguments。它读取 the current parallel execution status，该函数返回 parallel execution status。如果 the current DataModel 没有返回 DataModel，该 function 返回 false。checkparallel 是同一个 function 的 alias。

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

  ## 别名

  * `checkparallel`

  ## 返回值

  <ResponseField name={"parallel"} type={"boolean"}>
    当当前 DataModel parallel execution status 已设置时为 true；当 flag 未设置或没有可用的 DataModel 时为 false。
  </ResponseField>

  ## 示例

  Read whether the current DataModel is in the parallel phase.

  ```lua theme={null}
  local parallel = isparallel()
  print(parallel)

  print(checkparallel())
  ```
</div>
