{"action":"closed","issue":{"url":"https://api.github.com/repos/ansman/validate.js/issues/77","labels_url":"https://api.github.com/repos/ansman/validate.js/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/ansman/validate.js/issues/77/comments","events_url":"https://api.github.com/repos/ansman/validate.js/issues/77/events","html_url":"https://github.com/ansman/validate.js/issues/77","id":110441826,"number":77,"title":"Support for multiple values in length.is validation","user":{"login":"Jokero","id":434135,"avatar_url":"https://avatars.githubusercontent.com/u/434135?v=3","gravatar_id":"","url":"https://api.github.com/users/Jokero","html_url":"https://github.com/Jokero","followers_url":"https://api.github.com/users/Jokero/followers","following_url":"https://api.github.com/users/Jokero/following{/other_user}","gists_url":"https://api.github.com/users/Jokero/gists{/gist_id}","starred_url":"https://api.github.com/users/Jokero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jokero/subscriptions","organizations_url":"https://api.github.com/users/Jokero/orgs","repos_url":"https://api.github.com/users/Jokero/repos","events_url":"https://api.github.com/users/Jokero/events{/privacy}","received_events_url":"https://api.github.com/users/Jokero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T12:50:30Z","updated_at":"2015-10-08T14:58:26Z","closed_at":"2015-10-08T14:58:26Z","body":"Example:\r\n```javascript\r\nvar constraints = {\r\n    length: {\r\n        is: [5, 10] // length is 5 or 10 (array for multiple values)\r\n    }\r\n};\r\n\r\nvar value = 'hello';\r\n\r\nvalidate.single(value, constraints);\r\n```"}}