Method IsAllAsciiDigits | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

IsAllAsciiDigits(ReadOnlySpan)

Determines if this ReadOnlySpan of char is composed entirely of ASCII digits.

public static bool IsAllAsciiDigits(this ReadOnlySpan<char> stringSpan)

Parameters

stringSpan ReadOnlySpan<char>

A ReadOnlySpan of char to check.

Returns

bool

A bool indicating if all elements of the ReadOnlySpan are ASCII digits (true) or not (false

Edit this page