How to check if a custom class has a private object set?
Mihai Dobrescu <[email protected]> Thu, 15 Dec 2016 23:02:34 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
Provided JS_GetPrivate returns some known-typed private object and JS_ObjectIsFunction checks if some specific class instance is there, how could I check if simply some object instance is present, regardless the class type?