Introduction
We use find or detect to quickly get the first item in a list that matches what we want. It saves time by stopping as soon as it finds a match.
Looking for the first person in a list who is older than 18.
Finding the first word in a sentence that starts with a capital letter.
Getting the first number in an array that is even.
Searching for the first file in a folder with a specific extension.