mini\Contracts\CollectionInterface::find() Method

public abstract

Signature

public abstract function find(Closure $fn): mixed

Parameters

Name Type Default Description
$fn Closure required Documentation missing

Returns

mixed

Documentation

Find the first item matching the predicate

Source

src/Contracts/CollectionInterface.php:107