# Signature.vToYParity

Converts a ECDSA `v` value to a `yParity` value.

## Imports

:::code-group
```ts [Named]
import { Signature } from 'ox'
```

```ts [Entrypoint]
import * as Signature from 'ox/Signature'
```
:::

## Examples

```ts twoslash
import { Signature } from 'ox'

const yParity = Signature.vToYParity(28)
// @log: 1
```

## Definition

```ts
function vToYParity(
  v: number,
): Signature['yParity']
```

**Source:** [src/core/Signature.ts](https://github.com/wevm/ox/blob/main/src/core/Signature.ts#L1010)

## Parameters

### v

* **Type:** `number`

The ECDSA `v` value to convert.

## Return Type

The `yParity` value.

`Signature['yParity']`
