function find( array, condition ) {

    const index = findIndex( array, condition );

    return index < 0 ? void 0 : array[ index ];

}
The `find()` method returns the value of the first element in the array that satisfies the
provided testing function, otherwise `undefined` is returned.