How to find the type of a property
shierei opened this issue · 2 comments
shierei commented
Is there a way to find the type of a property value? I am trying to convert any UserObject's properties into a JSON document. To do that I need to find the type of a property value returned form get() to see if it is a number, string or boolean.
shierei commented
I found that there is a kind() member function in ponder::Property for this.
billyquith commented
Yes: docs