While in a way one could argue calling code could check for such case, in practice it is way handier for the search code itself to just return 'not found' value in such case, rather than crash!
While in a way one could argue calling code could check for such case, in practice it is way handier for the search code itself to just return 'not found' value in such case, rather than crash!