list class : ContainsByVal(class) method
Gets a value that indicates whether there are elements that match as value.
|A instance to search.
|A value that indicates whether there are elements that match as value.
//anyList is a instance of list type.
bool match = anyList.ContainsByVal(someInstance);
This method compare equivalence as value. Please note that do not compare equivalence as references.
Returns true if there are elements to match. otherwise returns false.
This method has a meaning in int, long, real, string, and bool. Does not have a meaning in other types.
Links for reference