See genaral usage guide for allowed keywords.
// Works on pretty much all DOM elements...
$('.email').is('email'); // Returns boolean value...
// And basic strings!
$.is('[email protected]', 'email'); // Returns true
Feel free to contibute in any way you see fit. Just try to keep the coding style that I've chosen in this project and don't break the code :)
To run tests make sure you've got testem installed on your system. Simply run the following command in the terminal to start testing:
$ testem