> For the complete documentation index, see [llms.txt](https://biologyscience.gitbook.io/alpha-coders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://biologyscience.gitbook.io/alpha-coders/reference/methods/ofcategory.md).

# ofCategory

{% hint style="info" %}
This method belongs to the property - [getList](/alpha-coders/reference/properties/getlist.md)
{% 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](/alpha-coders/reference/types.md#list)>>

### Example Code

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