{"action":"opened","issue":{"url":"https://api.github.com/repos/kensho/check-more-types/issues/27","labels_url":"https://api.github.com/repos/kensho/check-more-types/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/kensho/check-more-types/issues/27/comments","events_url":"https://api.github.com/repos/kensho/check-more-types/issues/27/events","html_url":"https://github.com/kensho/check-more-types/issues/27","id":62125297,"number":27,"title":"Add check.oneOf ","user":{"login":"bahmutov","id":2212006,"avatar_url":"https://avatars.githubusercontent.com/u/2212006?v=3","gravatar_id":"","url":"https://api.github.com/users/bahmutov","html_url":"https://github.com/bahmutov","followers_url":"https://api.github.com/users/bahmutov/followers","following_url":"https://api.github.com/users/bahmutov/following{/other_user}","gists_url":"https://api.github.com/users/bahmutov/gists{/gist_id}","starred_url":"https://api.github.com/users/bahmutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bahmutov/subscriptions","organizations_url":"https://api.github.com/users/bahmutov/orgs","repos_url":"https://api.github.com/users/bahmutov/repos","events_url":"https://api.github.com/users/bahmutov/events{/privacy}","received_events_url":"https://api.github.com/users/bahmutov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kensho/check-more-types/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-16T15:57:57Z","updated_at":"2015-03-16T15:57:57Z","closed_at":null,"body":"To test if an item is one of items in the list\r\n```js\r\nvar color = ...\r\nla(check.oneOf(['red', 'blue', 'green'], color));\r\n```"}}