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

> Zwraca, czy wartosc jest object z Drawing object type. To tylko methods check; nie sprawdza, czy wewnetrzny Drawing object nadal jest active, tracked lub destroyed. the Drawing API rejestruje te API tylko wtedy, gdy the required rendering environment is active ma wartosc true; gdy ten check ma wartosc false, initializer wraca przed utworzeniem tych globals.

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

  ## Argumenty

  <ParamField path={"object"} type={"any"} required>
    Wartosc do sprawdzenia. Non-object values i object bez Drawing object type zwracaja false.
  </ParamField>

  ## Zwroty

  <ResponseField name={"isDrawingObject"} type={"boolean"}>
    True, gdy wartosc jest object, ktorej methods pasuje do RealDrawingObject; w przeciwnym razie false.
  </ResponseField>

  ## Przykład

  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>
