UCharacter.IsDigit(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a code point is a Java digit.
[Android.Runtime.Register("isDigit", "(I)Z", "", ApiSince=24)]
public static bool IsDigit (int ch);
[<Android.Runtime.Register("isDigit", "(I)Z", "", ApiSince=24)>]
static member IsDigit : int -> bool
Parameters
- ch
- Int32
code point to query
Returns
true if this code point is a digit
- Attributes
Remarks
Determines if a code point is a Java digit. <br>This method observes the semantics of java.lang.Character.isDigit()
. It returns true for decimal digits only. <br><em>Semantic Change:</em> In release 1.3.1 and prior, this treated numeric letters and other numbers as digits. This has been changed to conform to the java semantics.
Java documentation for android.icu.lang.UCharacter.isDigit(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.