Just a bunch on quick 1 liner validation functions I wrote a bit back that keep making themselves useful. Thought I’d share.
Because everybody needs some validation sometimes and because more specifically I needed these today and I had this snippet in the queue.
And also because everybody needs somebody sometimes is stuck in my head.
Feel free to play with these in jsfiddle.
via Blogger http://ift.tt/1hTVcHD