public function unless($value, $callback, $default = null)
    {
        if (! $value) {
            return $callback($this, $value) ?: $this;
        } elseif ($default) {
            return $default($this, $value) ?: $this;
        }

        return $this;
    }
public function unless($value, $callback, $default = null)
    {
        if (! $value) {
            return $callback($this, $value) ?: $this;
        } elseif ($default) {
            return $default($this, $value) ?: $this;
        }

        return $this;
    }
public function unless ( $ value , $ callback , $ default = null ) { if ( ! $ value ) { return $ callback ( $ this , $ value ) ? : $ this ; } elseif ( $ default ) { return $ default ( $ this , $ value ) ? : $ this ; } return $ this ; }
Apply the callback's query changes if the given "value" is false.

@param  mixed  $value
@param  callable  $callback
@param  callable  $default
@return mixed|$this
Apply the callback s query changes if the given value is false .