CollectionConstraint.IsEmpty(IEnumerable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified enumerable is empty.
protected static bool IsEmpty (System.Collections.IEnumerable enumerable);
static member IsEmpty : System.Collections.IEnumerable -> bool
Parameters
- enumerable
- IEnumerable
The enumerable.
Returns
true
if the specified enumerable is empty; otherwise, false
.