From 7cc8359284dbc0b8946934d629286ff8cc154dab Mon Sep 17 00:00:00 2001 From: Austin Noska Date: Tue, 28 Jul 2020 17:31:41 -0400 Subject: [PATCH] fix: Check if any & all characters in a string is a digit instead of just all --- ICD.Common.Utils/Extensions/StringExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICD.Common.Utils/Extensions/StringExtensions.cs b/ICD.Common.Utils/Extensions/StringExtensions.cs index e1be90e..92e33dd 100644 --- a/ICD.Common.Utils/Extensions/StringExtensions.cs +++ b/ICD.Common.Utils/Extensions/StringExtensions.cs @@ -205,7 +205,7 @@ namespace ICD.Common.Utils.Extensions if (extends == null) throw new ArgumentNullException("extends"); - return extends.All(char.IsDigit); + return extends.AnyAndAll(char.IsDigit); } ///