> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Transform

> Defines a custom logic for value transformation.

> **Transform**(`transformFn`, `options?`): `PropertyDecorator`

Defined in: node\_modules/.pnpm/class-transformer\@0.5.1/node\_modules/class-transformer/types/decorators/transform.decorator.d.ts:7

Defines a custom logic for value transformation.

Can be applied to properties only.

## Parameters

### transformFn

(`params`) => `any`

### options?

`TransformOptions`

## Returns

`PropertyDecorator`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.