{"action":"created","issue":{"url":"https://api.github.com/repos/stoeffel/1-liners/issues/31","labels_url":"https://api.github.com/repos/stoeffel/1-liners/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/stoeffel/1-liners/issues/31/comments","events_url":"https://api.github.com/repos/stoeffel/1-liners/issues/31/events","html_url":"https://github.com/stoeffel/1-liners/pull/31","id":72244401,"number":31,"title":"`isTruthy` and `isFalsy`","user":{"login":"tomekwi","id":4624660,"avatar_url":"https://avatars.githubusercontent.com/u/4624660?v=3","gravatar_id":"","url":"https://api.github.com/users/tomekwi","html_url":"https://github.com/tomekwi","followers_url":"https://api.github.com/users/tomekwi/followers","following_url":"https://api.github.com/users/tomekwi/following{/other_user}","gists_url":"https://api.github.com/users/tomekwi/gists{/gist_id}","starred_url":"https://api.github.com/users/tomekwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomekwi/subscriptions","organizations_url":"https://api.github.com/users/tomekwi/orgs","repos_url":"https://api.github.com/users/tomekwi/repos","events_url":"https://api.github.com/users/tomekwi/events{/privacy}","received_events_url":"https://api.github.com/users/tomekwi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-30T18:36:21Z","updated_at":"2015-04-30T20:49:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stoeffel/1-liners/pulls/31","html_url":"https://github.com/stoeffel/1-liners/pull/31","diff_url":"https://github.com/stoeffel/1-liners/pull/31.diff","patch_url":"https://github.com/stoeffel/1-liners/pull/31.patch"},"body":"How about these?\r\n\r\n### isTruthy\r\n\r\nSame as `!!`.\r\n\r\n```js\r\nvar isTruthy = require('1-liners/isTruthy');\r\n\r\nisTruthy('yes');  // => true\r\nisTruthy(true);   // => true\r\nisTruthy([]);     // => true\r\n\r\nisTruthy('');     // => false\r\nisTruthy(0);      // => false\r\nisTruthy(false);  // => false\r\n```\r\n\r\n### isFalsy\r\n\r\nSame as `!`.\r\n\r\n```js\r\nvar isFalsy = require('1-liners/isFalsy');\r\n\r\nisFalsy('yes');  // => false\r\nisFalsy(true);   // => false\r\nisFalsy([]);     // => false\r\n\r\nisFalsy('');     // => true\r\nisFalsy(0);      // => true\r\nisFalsy(false);  // => true\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/stoeffel/1-liners/issues/comments/97962971","html_url":"https://github.com/stoeffel/1-liners/pull/31#issuecomment-97962971","issue_url":"https://api.github.com/repos/stoeffel/1-liners/issues/31","id":97962971,"user":{"login":"stoeffel","id":1217681,"avatar_url":"https://avatars.githubusercontent.com/u/1217681?v=3","gravatar_id":"","url":"https://api.github.com/users/stoeffel","html_url":"https://github.com/stoeffel","followers_url":"https://api.github.com/users/stoeffel/followers","following_url":"https://api.github.com/users/stoeffel/following{/other_user}","gists_url":"https://api.github.com/users/stoeffel/gists{/gist_id}","starred_url":"https://api.github.com/users/stoeffel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoeffel/subscriptions","organizations_url":"https://api.github.com/users/stoeffel/orgs","repos_url":"https://api.github.com/users/stoeffel/repos","events_url":"https://api.github.com/users/stoeffel/events{/privacy}","received_events_url":"https://api.github.com/users/stoeffel/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T20:49:40Z","updated_at":"2015-04-30T20:49:40Z","body":"needs a rebase"}}