ot::Heap::Array::Find() method
Finds the first match of a given entry in the array. Uses `==` operator on `Type` to compare the array element with @p aEntry. The returned pointer is valid only while the `Array` remains unchanged.
Syntax
Type *Find(const Type &aEntry); Arguments
aEntry
The entry to search for within the array.
Return value
A pointer to matched array element, or `nullptr` if a match could not be found.