sgs_PushIndex [function]

SGSBOOL sgs_PushIndex( sgs_Context* C, sgs_Variable obj, sgs_Variable idx, int isprop )

Retrieve and push index/property idx from the specified variable obj, specifying retrieval type via isprop, return if successful.