VINDICTA.TOP
Rendering · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

isrenderobj

Check whether a value is a valid Drawing object.

function isrenderobj(objectobjectanyThe value to check.: any): booleanbooleantrue if the value is a valid Drawing object, false otherwise.

Usage

Validate Drawing input at runtime
local square = Drawing.new("Square")
print(isrenderobj(square))     -- true
print(isrenderobj(workspace))  -- false
print(isrenderobj("text"))     -- false