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

[Home](./index.md) &gt; [@csstools/css-tokenizer](./css-tokenizer.md) &gt; [HashType](./css-tokenizer.hashtype.md)

## HashType enum

The type of hash token

**Signature:**

```typescript
export declare enum HashType 
```

## Enumeration Members

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

Member


</th><th>

Value


</th><th>

Description


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

ID


</td><td>

`"id"`


</td><td>

The hash token started with an ident sequence (e.g. `#foo`<!-- -->) Only hash tokens with the "id" type are valid ID selectors.


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

Unrestricted


</td><td>

`"unrestricted"`


</td><td>

The hash token did not start with an ident sequence (e.g. `#-2`<!-- -->)


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

