Func.php
public static function partial(callable $callback, ...$prependedArgs) : \Closure
    {
        return function(...$args) use ($callback, $prependedArgs) {
            return $callback(...$prependedArgs, ...$args);
        };
    }
public static function partial(callable $callback, ...$prependedArgs) : \Closure
    {
        return function(...$args) use ($callback, $prependedArgs) {
            return $callback(...$prependedArgs, ...$args);
        };
    }
public static function partial ( callable $ callback , ... $ prependedArgs ) : \ Closure { return function ( ... $ args ) use ( $ callback , $ prependedArgs ) { return $ callback ( ... $ prependedArgs , ... $ args ) ; } ; }
Creates a Closure that, when called, invokes the wrapped callable with any additional partial arguments
prepended to those provided to the new Closure.

@param   callable    $callback           The callable to wrap.
@param   mixed       ...$prependedArgs   The arguments to prepend to the callback.
@return  \Closure                        The wrapper.
Creates a Closure that when called invokes the wrapped callable with any additional partial arguments prepended to those provided to the new Closure .