Widmogrod\Monad\Either\Left::either PHP Method

either() public method

public either ( callable $left, callable $right )
$left callable
$right callable
    public function either(callable $left, callable $right)
    {
        return call_user_func($left, $this->value);
    }