mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-10-11 17:23:59 +00:00
10 lines
320 B
Objective-C
10 lines
320 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface NSNumber (NGSRange)
|
|
|
|
- (BOOL)isWithinRange:(NSRange)range; // location <= self <= location+length
|
|
- (BOOL)isExclusivelyWithinRange:(NSRange)range; // location < self < location+length
|
|
- (BOOL)isBoundedByRange:(NSRange)range; // location <= self < location+length
|
|
|
|
@end
|