sgs_IsType(P) [function aliases]

SGSBOOL sgs_IsType( sgs_Context* C, sgs_StkIdx item, const char* type )

Returns whether the specified stack item item is an object of the specified type.

SGSBOOL sgs_IsTypeP( sgs_Context* C, sgs_Variable* var, const char* type )

Returns whether the specified variable var is an object of the specified type.