Edit

Share via


ImmutableList<T>.TrueForAll(Predicate<T>) Method

Definition

Determines whether every element in the immutable list matches the conditions defined by the specified predicate.

C#
public bool TrueForAll(Predicate<T> match);

Parameters

match
Predicate<T>

The delegate that defines the conditions to check against the elements.

Returns

true if every element in the immutable list matches the conditions defined by the specified predicate; otherwise, false. If the list has no elements, the return value is true.

Applies to