---
updatedAt: 2025-07-16T18:24:53.000Z
agentTools:
  projectIndex: https://docs.appery.io/llms.txt
---

# has

request.has(name)

Checks if a request parameter with specified name (key) exists. Returns ***true*** if exists, ***false*** otherwise.

\#Parameters:
The method has the following parameter:

<HTMLBlock>{`
<table style="width: 100%; border-collapse: collapse;">
<thead>
<tr>
  <th style="border: 1px solid #ddd; padding: 8px;">Parameters</th>
  <th style="border: 1px solid #ddd; padding: 8px;">Description</th>
</tr>
</thead>
<tbody>
<tr>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>name</p>
</td>
  <td style="border: 1px solid #ddd; padding: 8px;"><p>Name of the request parameter.</p>
</td>
</tr>
</tbody>
</table>
`}</HTMLBlock>

# Example

If the script has the following request parameters:

* email = <james@appery.io>
* title = Engineer
* location = Barcelona

```javascript
console.log(request.has("email"));
console.log(request.has("userTitle"));
```

```text
true
false
```