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.
box
1 parent 4f109b3 commit e055985Copy full SHA for e055985
src/Tempest/Support/src/functions.php
@@ -51,6 +51,8 @@ function tap(mixed $value, Closure $callback): mixed
51
}
52
53
/**
54
+ * Returns a tuple containing the result of the `$callback` as the first element and the error message as the second element if there was an error.
55
+ *
56
* @template T
57
*
58
* @param (Closure(): T) $callback
0 commit comments