Hi, is it possible to do 'instanceof' test against object created from JS in the C++ API?
FunctionTemplate::HasInstance would do the trick if I had the C++ object, but it lives only in JS space, so I can get Handle<Value> by the name of the object, but I found no way to cast Handle<Value> to FunctionTemplate. For now I'll default with string comparison of the .constructor.name, but it does not seem like the correct way of doing this to me. Thanks Libor -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
