Somewhat related to: http://code.google.com/p/v8/issues/detail?id=595
On May 7, 8:56 pm, vlad <[email protected]> wrote: > Hi, > > Is there a way to check if an object is inherited from built-in types? > Like Number object? > > In KJS inheritance check looks like this... > > const ClassInfo NumberObject::info = { "Number", 0, 0, 0 }; > > if (object->inherits(&NumberObject::info)) > > How should I do this in v8? To use FindInstanceInPrototypeChain() I > need FunctionTemplate to be available. I didn't find a way to get > FunctionTemplate from an object... > > Thanks > Vlad > > -- > 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
