title: how to find out all properties of an object in lua?
body: <p>Is there any way of getting all the non-nil parameters / properties
  of an object? I found this: <code>getmetadata(self.xxxx)</code> and i am looking for something like: <code>getalldata(self).</code></p>
  
  <p>I'm currently working on a project where lua is involved. Unfortunately, there is no complete reference and i have to use precompiled stuff.</p>
  
  <p>I hope you are able to understand what I am trying to say.</p>