Skip to content

unescape

Unescapes a string by replacing escape sequences with their corresponding characters.

Import:

import { unescape } from '@mnaoumov/typescript-lib/string';

Signature:

function unescape($string: string): string

Parameters:

Parameter Type Description
$string string

Returns: string — The unescaped string.