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

[Home](./index.md) &gt; [@csstools/utilities](./utilities.md) &gt; [hasFallback](./utilities.hasfallback.md)

## hasFallback() function

Check if a declaration has a fallback. Returns true if a declaration with the same property name appears before the current declaration.

**Signature:**

```typescript
export declare function hasFallback(node: Declaration): boolean;
```

## Parameters

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

Parameter


</th><th>

Type


</th><th>

Description


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

node


</td><td>

Declaration


</td><td>

The declaration node to check


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

**Returns:**

boolean

{<!-- -->boolean<!-- -->} Whether the declaration has a fallback

