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

## modifierFromToken() function

**Signature:**

```typescript
export declare function modifierFromToken(token: TokenIdent): MediaQueryModifier | false;
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

token


</td><td>

TokenIdent


</td><td>


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

**Returns:**

[MediaQueryModifier](./media-query-list-parser.mediaquerymodifier.md) \| false

