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

[Home](./index.md) &gt; [@csstools/cascade-layer-name-parser](./cascade-layer-name-parser.md) &gt; [LayerName](./cascade-layer-name-parser.layername.md) &gt; [segments](./cascade-layer-name-parser.layername.segments.md)

## LayerName.segments() method

**Signature:**

```typescript
segments(): Array<string>;
```
**Returns:**

Array&lt;string&gt;

