as a matter of fact I tried and it returns not empty value :)... anyway if ObjectProtoToString() would do the job, I'm fine.
On Wed, Jun 9, 2010 at 12:21 PM, Stephan Beal <[email protected]> wrote: > On Wed, Jun 9, 2010 at 7:17 PM, vlad vladbph <[email protected]> wrote: > >> true for JS side, but I would like to check the inheritance from simple >> types on C++ . I can use ObjectProtoToString() for that I guess. Another way >> I can request global instanceof, but how to pass obj and type correctly to >> it... >> >> v8::Handle<v8::Value> iof = g->Get(v8::String::New("instanceof")); >> > > instanceof is not a function, but a language construct. You won't be able > to get at it, i think, in the same way that you can't get a reference to > "function". > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
