Skip to content

Instantly share code, notes, and snippets.

@hajipy
Created April 25, 2012 14:31
Show Gist options
  • Save hajipy/2490112 to your computer and use it in GitHub Desktop.
Save hajipy/2490112 to your computer and use it in GitHub Desktop.
[NSDictionary isNull]
@implementation NSDictionary (isNull)
- (BOOL)isNull:(id)aKey
{
id value = [self objectForKey:aKey];
return (value == nil || [value isEqual:[NSNull null]]);
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment