Skip to content

Instantly share code, notes, and snippets.

Created Aug 10, 2021
What would you like to do?
* Call the given Closure with the given value then return the value.
* @param mixed $value
* @param callable|null $callback
* @return mixed
function tap($value, $callback = null): mixed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment