inessential by Brent Simmons

Emptiness

I usually don’t care about the differences between nil, null, and just plain empty data — it amounts to the same thing. RSIsEmpty works on NSString, NSArray, NSSet, NSDictionary, and NSData.

RSStringIsEmpty is just an optimization for when I know for sure it’s a string.

Hardly earth-shattering code — but useful, and I use these all the time.