NDepend.API Documentation
IsNullOrEmpty Method
NDepend.Helpers Namespace > ExtensionMethodsString Class : IsNullOrEmpty Method
The string reference.
Returns true if str is a null reference or an empty string.
Syntax
[Extension()]
public static bool IsNullOrEmpty( 
   string str
)

Parameters

str
The string reference.
Remarks
An alternative to string.IsNullOrEmpty() with less characters.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsString Class
ExtensionMethodsString Members