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

> คืน boolean จาก ScriptContext DataModel ของ Luau thread ปัจจุบัน function นี้ไม่รับ arguments อ่าน the current parallel execution status ซึ่งคืน parallel execution status หาก the current DataModel ไม่คืน DataModel function จะคืน false checkparallel เป็น alias ของ function เดียวกัน

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

  ## Aliases

  * `checkparallel`

  ## Returns

  <ResponseField name={"parallel"} type={"boolean"}>
    true เมื่อ current DataModel parallel execution status ถูกตั้งค่า; false เมื่อ flag ไม่ถูกตั้งค่าหรือไม่มี DataModel
  </ResponseField>

  ## ตัวอย่าง

  Read whether the current DataModel is in the parallel phase.

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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.