is Member
Creates a Specification that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.
Receiver
T – the type of the entity.
E - the type of the element in the Collection.
P - the type of the Collection property.
Return
A Specification that tests whether an element is a member of a collection.
Parameters
value
– the element value to check for membership.