# hasColumnShorthands

> _Since v0.7.0_

Check if an array of columns contains any shorthand strings.

```ts
hasColumnShorthands(columns: ColumnShorthand<TRow>[]): boolean
```

## Parameters

| Name | Type | Description |
| ---- | ---- | ----------- |
| `columns` | <code><a href="/grid/react/api/types/columnshorthand/">ColumnShorthand</a>&lt;TRow&gt;[]</code> | Array to check |

## Returns

`boolean` - True if any element is a string shorthand
