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.

SGSBOOL sgs_IsObjectP( sgs_Context* C, sgs_Variable* var, sgs_ObjInterface* iface )

Returns whether the specified variable var is an object with the interface pointer iface.