Posted By

traeregan on 07/06/09


Tagged

istable


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tyster


is_table


 / Published in: Lua
 

  1. if (type(var) == "table") then
  2. -- do stuff if is table
  3. else
  4. -- do stuff if is *not* table
  5. end

Report this snippet  

You need to login to post a comment.