ReadOnlySpan<T>.IsEmpty Property

Definition

Returns a value that indicates the current read-only span is empty.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Property Value

true when the current span is empty; otherwise false.

Applies to