Two weeks ago, I was given the chance to give back to our community at the 2016 Cleveland GiveCamp. GiveCamp is a annual event where ~200 programmers and designers get paired with a collection of non-profit organizations to help with their technology needs. Most often, that means a website that allows for donations, contact forms and photo galleries of what the nonprofit does. This was my 5th GiveCamp – I attended in 2011, 2012, 2014, 2015 and (now) 2016.
You’re probably familiar with iterating through an array or hash:
Sometimes, you’ll have a scenario where you’ll want to check and see if something can be enumerated or not. To do this, create a method like this: