CTT/Unity/Assets/Hotfix/Logic/Behaviour/Game/Helper/StringHelper.cs

20 lines
410 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ET
{
public static class StringUtil
{
public static bool IsNullOrEmpty(this string obj)
{
if (obj == null || string.IsNullOrEmpty(obj) || string.IsNullOrWhiteSpace(obj))
return true;
return false;
}
}
}