We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbc922 commit 7491e7cCopy full SHA for 7491e7c
src/functions.php
@@ -77,6 +77,11 @@ function collect(array $array): Collection
77
78
if (!function_exists('any')) {
79
80
+ /**
81
+ * @param array<mixed> $values
82
+ * @param callable $cb
83
+ * @return bool
84
+ */
85
function any(array $values, callable $cb): bool
86
{
87
return array_reduce($values, function (bool $carry, $value) use ($cb) {
0 commit comments