# Function: remove() (/pixi-vn-json/index/namespaces/TextReplaces/functions/remove)



\> **remove**(`fn`): `void`

Defined in: [src/translator/TextReplaces.ts:91](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/translator/TextReplaces.ts#L91)

Removes a previously registered handler function.

Only the first registration matching `fn` is removed. If the same function was added
multiple times, subsequent registrations remain.

## Parameters [#parameters]

### fn [#fn]

[`ReplaceHandler`](/pixi-vn-json/index/type-aliases/ReplaceHandler)

The handler function to remove.

## Returns [#returns]

`void`
