Modifier

Partager via


Rune.IsDigit(Rune) Method

Definition

Returns a value that indicates whether the specified rune is categorized as a decimal digit.

public:
 static bool IsDigit(System::Text::Rune value);
public static bool IsDigit (System.Text.Rune value);
static member IsDigit : System.Text.Rune -> bool
Public Shared Function IsDigit (value As Rune) As Boolean

Parameters

value
Rune

The rune to evaluate.

Returns

true if value is a decimal digit; otherwise, false.

Remarks

This method is equivalent to querying GetUnicodeCategory(Rune) and comparing the result against DecimalDigitNumber.

For more information, see Char.IsDigit.

Applies to