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

# isrenderobj

> يعيد ما إذا كانت القيمة object مع Drawing object type. هذا methods check فقط؛ لا يتحقق مما إذا كان Drawing object الداخلي لا يزال active أو tracked أو destroyed. يسجل the Drawing API هذه API فقط عندما تكون the required rendering environment is active true؛ عندما يكون هذا الفحص false، يرجع initializer قبل إنشاء هذه globals.

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

  ## الوسائط

  <ParamField path={"object"} type={"any"} required>
    القيمة المراد اختبارها. non-object values و object بدون Drawing object type ترجع false.
  </ParamField>

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

  <ResponseField name={"isDrawingObject"} type={"boolean"}>
    True عندما تكون القيمة object و methods الخاصة بها تطابق RealDrawingObject؛ وإلا false.
  </ResponseField>

  ## مثال

  Check whether a value has Real's Drawing userdata metatable.

  ```lua theme={null}
  local square = Drawing.new("Square")

  print(isrenderobj(square))
  square:Destroy()
  print(isrenderobj(square))
  print(isrenderobj({}))
  ```
</div>
