{"action":"created","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/148","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/148/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/148/events","html_url":"https://github.com/svaarala/duktape/issues/148","id":63854779,"number":148,"title":"instanceof equivalent from C","user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/svaarala/duktape/labels/api","name":"api","color":"bfd4f2"},{"url":"https://api.github.com/repos/svaarala/duktape/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/svaarala/duktape/milestones/4","html_url":"https://github.com/svaarala/duktape/milestones/v1.2.0","labels_url":"https://api.github.com/repos/svaarala/duktape/milestones/4/labels","id":840956,"number":4,"title":"v1.2.0","description":"","creator":{"login":"svaarala","id":6377415,"avatar_url":"https://avatars.githubusercontent.com/u/6377415?v=3","gravatar_id":"","url":"https://api.github.com/users/svaarala","html_url":"https://github.com/svaarala","followers_url":"https://api.github.com/users/svaarala/followers","following_url":"https://api.github.com/users/svaarala/following{/other_user}","gists_url":"https://api.github.com/users/svaarala/gists{/gist_id}","starred_url":"https://api.github.com/users/svaarala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svaarala/subscriptions","organizations_url":"https://api.github.com/users/svaarala/orgs","repos_url":"https://api.github.com/users/svaarala/repos","events_url":"https://api.github.com/users/svaarala/events{/privacy}","received_events_url":"https://api.github.com/users/svaarala/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":15,"state":"open","created_at":"2014-10-26T15:05:22Z","updated_at":"2015-03-24T00:29:50Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-03-23T23:07:11Z","updated_at":"2015-03-24T13:12:28Z","closed_at":null,"body":"Is there currently a way to use `instanceof` from the native side?  I don't see anything to do this in the documentation.  Might be a useful feature to have, particularly for native-side errCreate handlers. ;-)"},"comment":{"url":"https://api.github.com/repos/svaarala/duktape/issues/comments/85488151","html_url":"https://github.com/svaarala/duktape/issues/148#issuecomment-85488151","issue_url":"https://api.github.com/repos/svaarala/duktape/issues/148","id":85488151,"user":{"login":"darkuranium","id":417391,"avatar_url":"https://avatars.githubusercontent.com/u/417391?v=3","gravatar_id":"","url":"https://api.github.com/users/darkuranium","html_url":"https://github.com/darkuranium","followers_url":"https://api.github.com/users/darkuranium/followers","following_url":"https://api.github.com/users/darkuranium/following{/other_user}","gists_url":"https://api.github.com/users/darkuranium/gists{/gist_id}","starred_url":"https://api.github.com/users/darkuranium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkuranium/subscriptions","organizations_url":"https://api.github.com/users/darkuranium/orgs","repos_url":"https://api.github.com/users/darkuranium/repos","events_url":"https://api.github.com/users/darkuranium/events{/privacy}","received_events_url":"https://api.github.com/users/darkuranium/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T13:12:28Z","updated_at":"2015-03-24T13:12:28Z","body":"I'd just like to toss in my $0.02 and state that I also don't mind the macros, as long as they don't do something unpredictable (like evaluate an argument twice) --- or if they do, at least document and emphasize that.\r\n\r\nWhile I don't remember using them in any shape or form where 2× evaluation would be a problem, I know I might end up with such a call in the future."}}