# Function: remove() (/jsdoc/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/c3fc7ababe09c261f3130ab586feb49b5a221ace/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`](/jsdoc/pixi-vn-json/index/type-aliases/ReplaceHandler)

The handler function to remove.

## Returns [#returns]

`void`
