# IsDigit(Rune)

> Returns true if a rune is a numerical digit character.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public static bool IsDigit(Unicode.Rune r)
```

### Parameters

**** (\[Rune]\(/engine/6000.7/script-reference/unity/collections/unicode/rune)): The rune.

### Returns

| Type                                                          | Description                                      |
| ------------------------------------------------------------- | ------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the rune is a numerical digit character. |
