CollectionConstraint.

IsEmpty(IEnumerable) Method

Summary

Determines whether the specified enumerable is empty.
Namespace
TCLite.Constraints
Containing Type
CollectionConstraint

Syntax

protected static bool IsEmpty(IEnumerable enumerable)

Parameters

Name Type Description
enumerable IEnumerable The enumerable.

Return Value

Type Description
bool true if the specified enumerable is empty; otherwise, false.