NSString
- (BOOL)boolValue
Return Value
The Boolean value of the receiver’s text. Returns YES on encountering one of "Y", "y", "T", "t", or a digit 1-9—the
method ignores any trailing characters. Returns NO if the receiver doesn’t begin with a valid decimal text representation of a number.
In the explanation of above method, i am unable to understand why it is only restrict to "Y", "y", "T", "t", or a digit 1-9....please reply me...
|