Table of Contents

IsNullOrWhiteSpace Method

Definition

Namespace
Cuemon.Extensions
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/StringExtensions.cs

IsNullOrWhiteSpace(string)

Determines whether the specified value is null, empty, or consists only of white-space characters.

public static bool IsNullOrWhiteSpace(this string value)

Parameters

value string

The string to extend.

Returns

bool

true if the value parameter is null or an empty string (""), or if value consists exclusively of white-space characters; otherwise, false.