<!-- 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; [comparisonFromTokens](./media-query-list-parser.comparisonfromtokens.md)

## comparisonFromTokens() function

**Signature:**

```typescript
export declare function comparisonFromTokens(tokens: [TokenDelim, TokenDelim] | [TokenDelim]): MediaFeatureComparison | false;
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

tokens


</td><td>

\[TokenDelim, TokenDelim\] \| \[TokenDelim\]


</td><td>


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

**Returns:**

[MediaFeatureComparison](./media-query-list-parser.mediafeaturecomparison.md) \| false

