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

[Home](./index.md) &gt; [@csstools/media-query-list-parser](./media-query-list-parser.md) &gt; [MediaConditionListWithAnd](./media-query-list-parser.mediaconditionlistwithand.md) &gt; [(constructor)](./media-query-list-parser.mediaconditionlistwithand._constructor_.md)

## MediaConditionListWithAnd.(constructor)

Constructs a new instance of the `MediaConditionListWithAnd` class

**Signature:**

```typescript
constructor(leading: MediaInParens, list: Array<MediaAnd>, before?: Array<CSSToken>, after?: Array<CSSToken>);
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

leading


</td><td>

[MediaInParens](./media-query-list-parser.mediainparens.md)


</td><td>


</td></tr>
<tr><td>

list


</td><td>

Array&lt;[MediaAnd](./media-query-list-parser.mediaand.md)<!-- -->&gt;


</td><td>


</td></tr>
<tr><td>

before


</td><td>

Array&lt;CSSToken&gt;


</td><td>

_(Optional)_


</td></tr>
<tr><td>

after


</td><td>

Array&lt;CSSToken&gt;


</td><td>

_(Optional)_


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

