sgs_IsObject(P) [functions]
SGSBOOL sgs_IsObject( sgs_Context* C, sgs_StkIdx item, sgs_ObjInterface* iface )
Returns whether the specified stack item item
is an object with the interface pointer iface
.
- If
item
is out of bounds or not an object or doesn't have the specified interface, 0 is returned.