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

 

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

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public bool TrueForAll(
	Predicate<T> match
)

Parameters

match
Type: System.Predicate<T>

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

Return Value

Type: System.Boolean

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.

Return to top
Show: