# z.Solidity.Identifier

## Imports

```ts
import { z } from 'ox/zod'

z.Solidity.Identifier
```

## Definition

```ts
export const Identifier = z
  .string()
  .check(
    z.refine(
      (value) => /^[a-zA-Z$_][a-zA-Z0-9$_]*$/.test(value),
      'expected identifier',
    ),
  )
```

**Source:** [src/zod/Solidity.ts](https://github.com/wevm/ox/blob/main/src/zod/Solidity.ts)
