mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
...
This commit is contained in:
parent
46db58b5f0
commit
3e9bda3547
1 changed files with 1 additions and 2 deletions
|
@ -188,8 +188,7 @@ namespace SanAndreasUnity.Utilities
|
|||
|
||||
public static bool IsNullOrWhiteSpace(this string value)
|
||||
{
|
||||
if (value == null) return true;
|
||||
return string.IsNullOrEmpty(value.Trim());
|
||||
return string.IsNullOrWhiteSpace(value);
|
||||
}
|
||||
|
||||
public static void Clear(this StringBuilder value)
|
||||
|
|
Loading…
Reference in a new issue