15 lines
297 B
C#
Raw Permalink Normal View History

2025-02-10 23:53:56 +04:00
namespace SPiluSZharuContracts.Extensions;
public static class StringExtensions
{
public static bool IsEmpty(this string str)
{
return string.IsNullOrWhiteSpace(str);
}
public static bool IsGuid(this string str)
{
return Guid.TryParse(str, out _);
}
}