diff --git "a/XFE\345\220\204\347\261\273\346\213\223\345\261\225.NetCore/StringExtension/StringExtension.cs" "b/XFE\345\220\204\347\261\273\346\213\223\345\261\225.NetCore/StringExtension/StringExtension.cs"
index a49ce18..5924b9f 100644
--- "a/XFE\345\220\204\347\261\273\346\213\223\345\261\225.NetCore/StringExtension/StringExtension.cs"
+++ "b/XFE\345\220\204\347\261\273\346\213\223\345\261\225.NetCore/StringExtension/StringExtension.cs"
@@ -68,6 +68,21 @@ public static bool IsIdCard(this string idNumber)
{
return IdCardRegex().IsMatch(idNumber);
}
+
+ ///
+ /// 判断字符串是否为 null 或者是空字符串
+ ///
+ ///
+ ///
+ public static bool IsNullOrEmpty(this string str) => string.IsNullOrEmpty(str);
+
+ ///
+ /// 判断字符串是否是 null 、空字符串和仅包含空格的字符串
+ ///
+ ///
+ ///
+ public static bool IsNullOrWhiteSpace(this string str) => string.IsNullOrWhiteSpace(str);
+
///
/// 判断字符串是否为邮箱地址
///