Files
juipnet/Services/Hncore.Pass.OSS/UEditor/StringExtension.cs
“wanyongkang” b562aba2b1 忽略dll文件git
2023-07-29 10:19:42 +08:00

22 lines
449 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace UEditor.Core
{
public static class StringExtension
{
public static bool IsNullOrWhiteSpace(this string value)
{
if (value == null) return true;
for (int i = 0; i < value.Length; i++)
{
if (!Char.IsWhiteSpace(value[i])) return false;
}
return true;
}
}
}