{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/647","labels_url":"https://api.github.com/repos/iojs/io.js/issues/647/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/647/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/647/events","html_url":"https://github.com/iojs/io.js/pull/647","id":55844189,"number":647,"title":"lib: reduce util.is*() usage","user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-29T01:44:09Z","updated_at":"2015-01-31T15:08:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/647","html_url":"https://github.com/iojs/io.js/pull/647","diff_url":"https://github.com/iojs/io.js/pull/647.diff","patch_url":"https://github.com/iojs/io.js/pull/647.patch"},"body":"Many of the `util.is*()` methods used to check data types simply compare against a single value or the result of `typeof`. This commit replaces calls to these methods with equivalent checks. This commit does not touch calls to the more complex methods (`isRegExp()`, `isDate()`, etc.), which are infrequently used anyway.\r\n\r\nCloses #607 "},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/72321230","html_url":"https://github.com/iojs/io.js/pull/647#issuecomment-72321230","issue_url":"https://api.github.com/repos/iojs/io.js/issues/647","id":72321230,"user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T15:08:39Z","updated_at":"2015-01-31T15:08:39Z","body":"FWIW, the current `util.isArray()` is just an alias to `Array.isArray()`."}}