StringExtensions.IsEmpty(String) Method

Definition

Checks whether a string value is null or empty.

public static bool IsEmpty (this string value);
static member IsEmpty : string -> bool
<Extension()>
Public Function IsEmpty (value As String) As Boolean

Parameters

value
String

The string value to test.

Returns

true if value is null or is a zero-length string (""); otherwise, false.

Applies to