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



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

Defined in: [src/handlers/TextReplaces.ts:109](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/handlers/TextReplaces.ts#L109)

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`
