Method IsAllAsciiDigits
IsAllAsciiDigits(ReadOnlySpan<char>)
Determines if this ReadOnlySpan<T> of char is composed entirely of ASCII digits.
public static bool IsAllAsciiDigits(this ReadOnlySpan<char> stringSpan)
Parameters
stringSpan
ReadOnlySpan<char>A ReadOnlySpan<T> of char to check.
Returns
- bool
A bool indicating if all elements of the ReadOnlySpan<T> are ASCII digits ( true) or not (false