> For the complete documentation index, see [llms.txt](https://docs.cheddar.vihan.org/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cheddar.vihan.org/docs/developing/api/primitives/array.md).

# array

The array class for Cheddar

## Arguments

| name   | type           | description     |
| ------ | -------------- | --------------- |
| `item` | cheddar object | the array item. |
| ...    | 〃              | 〃               |

## Usage:

`[]`, with api:

```javascript
cheddar.init(
    cheddar.array
)
```

`[1,2,3]`, with api:

```javascript
cheddar.init(
    cheddar.array,
    cheddar.init(cheddar.number, 10, 0, 1),
    cheddar.init(cheddar.number, 10, 0, 2),
    cheddar.init(cheddar.number, 10, 0, 3)
)
```
