Eloquent\Phony\Call\Arguments::has PHP Method

has() public method

Negative indices are offset from the end of the list. That is, -1 indicates the last element, and -2 indicates the second last element.
public has ( integer $index ) : boolean
$index integer The index.
return boolean True if the argument exists.
    public function has($index = 0)
    {
        if ($this->normalizeIndex($this->count, $index)) {
            return true;
        }
        return false;
    }