Lire en anglais 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);

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

Produit Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9