2025-02-03 01:12:40 +04:00
|
|
|
|
namespace TheCyclopsContracts.Extensions;
|
|
|
|
|
|
2025-02-16 12:45:44 +04:00
|
|
|
|
public static class StringExtensions
|
2025-02-03 01:12:40 +04:00
|
|
|
|
{
|
|
|
|
|
public static bool IsEmpty(this string str)
|
|
|
|
|
{
|
|
|
|
|
return string.IsNullOrEmpty(str);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static bool IsGuid(this string str)
|
|
|
|
|
{
|
|
|
|
|
return Guid.TryParse(str, out _);
|
|
|
|
|
}
|
|
|
|
|
}
|