اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


MemoryExtensions.IsWhiteSpace(ReadOnlySpan<Char>) Method

Definition

Indicates whether the specified span contains only whitespace characters.

C#
public static bool IsWhiteSpace(this ReadOnlySpan<char> span);

Parameters

span
ReadOnlySpan<Char>

The source span.

Returns

true if the span contains only whitespace characters, false otherwise.

Applies to