<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@csstools/css-parser-algorithms](./css-parser-algorithms.md) &gt; [ContainerNodeBaseClass](./css-parser-algorithms.containernodebaseclass.md) &gt; [at](./css-parser-algorithms.containernodebaseclass.at.md)

## ContainerNodeBaseClass.at() method

Retrieve the item at the given index in the current node. For most node types this will be trivially implemented as `this.value[index]`<!-- -->.

**Signature:**

```typescript
at(index: number | string): ComponentValue | undefined;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

index


</td><td>

number \| string


</td><td>


</td></tr>
</tbody></table>

**Returns:**

[ComponentValue](./css-parser-algorithms.componentvalue.md) \| undefined

