> ## Documentation Index
> Fetch the complete documentation index at: https://omss.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NonEmptyArray

> A tuple type that represents a non-empty array of elements of type T.

A tuple type that represents a non-empty array of elements of type T.
The first element is of type T, and the rest of the elements are of type T\[].
This ensures that the array has at least one element.

```typescript
type NonEmptyArray = [T, unknown]
```


## Related topics

- [OMSS v1.0 Specification](/spec/v1.0/ref/spec.md)
- [OMSS v1.1 Specification](/spec/latest/ref/spec.md)
- [OMSS Overview](/spec/explanation/overview.md)
