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

> 값이 Drawing object type을 가진 object인지 반환합니다. 이것은 methods check일 뿐이며, 내부 Drawing object가 아직 active, tracked 또는 destroyed인지 확인하지 않습니다. the Drawing API는 the required rendering environment is active가 true일 때만 이 API를 등록합니다. 이 검사가 false이면 initializer는 이러한 globals를 만들기 전에 반환됩니다.

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

  ## 인수

  <ParamField path={"object"} type={"any"} required>
    테스트할 값입니다. Drawing object type이 없는 non-object values와 object는 false를 반환합니다.
  </ParamField>

  ## 반환값

  <ResponseField name={"isDrawingObject"} type={"boolean"}>
    값이 object이고 methods이 RealDrawingObject와 일치하면 True, 그렇지 않으면 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>
