Subj : [spidermonkey] - determine JSVal is function To : netscape.public.mozilla.jseng From : Frédéric Lecointre Date : Tue Mar 15 2005 11:05 pm Hello all, i try to connect javascript with php and i want to know how i can determine that a jsval passed to my GetPropertyStub is called as a function or as a property. for example obj.func; as property return JSString obj.func(); as function return JSFunction i try JSVAL_IS_FUNCTION(cx, id) without success both in GetProperty and Resolve. Thanks in advance ~Fred .