# toPascalCase

Creates a to pascal case transformation action.

Words are separated by `_`, `-` and ASCII whitespace, as well as by case and acronym boundaries.

> Acronym runs are normalized to lowercase (e.g. `parseURLValue` → `ParseUrlValue`) and digits stay attached to the preceding token (e.g. `item2Name` → `Item2Name`).

```ts
const Action = v.toPascalCase();
```

## Returns

- `Action` <Property {...properties.Action} />

## Examples

The following examples show how `toPascalCase` can be used.

### Pascal case string

Schema that transforms a string to pascal case.

```ts
const StringSchema = v.pipe(v.string(), v.toPascalCase());
```

## Related

The following APIs can be combined with `toPascalCase`.

### Schemas

<ApiList items={['any', 'custom', 'string']} />

### Methods

<ApiList items={['pipe']} />

### Utils

<ApiList items={['isOfKind', 'isOfType']} />
