# ofCategory

{% hint style="info" %}
This method belongs to the property - [getList](https://biologyscience.gitbook.io/alpha-coders/reference/properties/getlist)
{% endhint %}

### Parameters

| PARAMETER |
| :-------: |
|   **-**   |

### Returns

[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[List](https://biologyscience.gitbook.io/alpha-coders/types#list)>>

### Example Code

```javascript
<getList>.ofCategory().then(x => console.log(x));
```
