{"json_modified": "2016-03-28T08:24:33.384174", "uuid": "4de0d31f-69e6-4291-9df8-188ffcc44e62", "title": "JS_HasInstance", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_HasInstance", "tags": ["R\u00e9f\u00e9rence", "Reference", "SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2015-01-10T10:00:03", "label": "JS_HasInstance", "localization_tags": [], "locale": "en-US", "id": 57483, "last_edit": "2015-01-10T09:59:54", "summary": "JS_HasInstance
determines if a specified JS value, v
, is an instance of JS object, obj
. This function is equivalent to v instanceof obj
test in JavaScript. On success, JS_HasInstance
stores the result of the instanceof test in *bp
and returns true
. On error or exception, it returns false
, and the value left in *bp
is undefined.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_HasInstance", "review_tags": ["technical"]}