On 08-Apr-15 16:06, Sze Howe Koh wrote: > I think we should document this somewhere, if it isn't already done (I > searched but couldn't find anything). I'm happy to volunteer if > necessary. Could you please provide a list of built-in properties of > various QJSValue types?
The docs state mention that isError() returns true if the value is an object of the Error class. That's a JavaScript class. We shouldn't duplicate the JavaScript documentation. > Also, what do you think of some API that returns a list of available > properties? (similar to QObject::dynamicPropertyNames() ) See QJSValueIterator. BR, Joerg _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest