-1 in case of an error, otherwise one of following:
if infoType is 0:
sim.stack_table_circular_ref (-4): the value at the top of the stack is a circular reference table (is set to an empty table)
sim.stack_table_not_table (-3): the value at the top of the stack is not a table
sim.stack_table_map (-2): the value at the top of the stack is a map-type table, containing value-key pairs, where the keys are not all numbers, not all consecutive, or not starting at 1. Use simUnfoldStackTable to read the content of the table.
sim.stack_table_empty (0): the value at the top of the stack is an empty table.
if infoType is 1: 1 if the table contains only null values
if infoType is 2: 1 if the table contains only number values
if infoType is 3: 1 if the table contains only bool values
if infoType is 4: 1 if the table contains only string values
if infoType is 5: 1 if the table contains only table values
|