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

[Home](./index.md) &gt; [@csstools/selector-specificity](./selector-specificity.md) &gt; [CustomSpecificityCallback](./selector-specificity.customspecificitycallback.md)

## CustomSpecificityCallback type

Calculate a custom specificity for a node

**Signature:**

```typescript
export type CustomSpecificityCallback = (node: Node) => Specificity | void | false | null | undefined;
```
**References:** [Specificity](./selector-specificity.specificity.md)

