src/Leevel/Http/Request.php
public function exists(array $keys): bool
    {
        $input = $this->all();

        foreach ($keys as $value) {
            if (!array_key_exists($value, $input)) {
                return false;
            }
        }

        return true;
    }
public function exists(array $keys): bool
    {
        $input = $this->all();

        foreach ($keys as $value) {
            if (!array_key_exists($value, $input)) {
                return false;
            }
        }

        return true;
    }
请求是否包含给定的 keys.

@param array $keys

@return bool