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, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ExtensionMethodsString Class
ExtensionMethodsString Members