mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Check if any & all characters in a string is a digit instead of just all
This commit is contained in:
parent
62f54f1213
commit
7cc8359284
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ namespace ICD.Common.Utils.Extensions
|
||||||
if (extends == null)
|
if (extends == null)
|
||||||
throw new ArgumentNullException("extends");
|
throw new ArgumentNullException("extends");
|
||||||
|
|
||||||
return extends.All(char.IsDigit);
|
return extends.AnyAndAll(char.IsDigit);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue