the singularity of being and nothingness
So Apparently I Just Started Using ColdFusion Yesterday…
I’ve been using ColdFusion for probably about 5 years now. While I certainly do not consider myself an expert at it by any stretch of the imagination, I feel like I have a pretty good grasp of what CF can do and what some of the more standard features of it are.
Well, I did until today. While browsing the docs, I came across the isValid() method. I could have sworn that I’d used this in the past, but as I looked at its capabilities for validation, it was clear that I apparently missed that day in class.
So isValid() is super-sweet because you can use it to…well…validate whether or not some ColdFusion variable is of whatever type that you’re expecting it to be. Like an email address. Or a phone number. Or a flippin’ component. Or an integer…no, not just a numeric value, but a real INTEGER. There’s a bunch more goodness, so be sure to check it out when you have a chance.
As for me, perhaps I need to spend some more time in the docs every day to figure out what other awesomeness I’ve been missing… 🙂
Print article | This entry was posted by existdissolve on December 3, 2010 at 4:00 am, and is filed under ColdFusion. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |