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

> Retorna se o valor e object com Drawing object type. Isto e apenas um methods check; nao verifica se o Drawing object interno ainda esta active, tracked ou destroyed. the Drawing API registra esta API somente quando the required rendering environment is active e true; quando essa verificacao e false, o initializer retorna antes de criar estes globals.

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

  ## Argumentos

  <ParamField path={"object"} type={"any"} required>
    Valor a testar. Non-object values e object sem Drawing object type retornam false.
  </ParamField>

  ## Retornos

  <ResponseField name={"isDrawingObject"} type={"boolean"}>
    True quando o valor e object cuja methods corresponde a RealDrawingObject; caso contrario false.
  </ResponseField>

  ## Exemplo

  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>
