BitArray.HasAnySet Method

Definition

Determines whether any bit in the BitArray is set to true.

public:
 bool HasAnySet();
public bool HasAnySet ();
member this.HasAnySet : unit -> bool
Public Function HasAnySet () As Boolean

Returns

true if BitArray is not empty and at least one of its bit is set to true; otherwise, false.

Applies to