ot::Array::Contains() const method
Indicates whether or not a match to given entry exists in the array. Uses `==` operator on `Type` to compare the array elements with @p aEntry.
Syntax
bool Contains(const Type &aEntry) const; Arguments
aEntry
The entry to search for within the array.
Return value
TRUE The array contains a matching element with @p aEntry. FALSE The array does not contain a matching element with @p aEntry.