• Remove characters that appear in the blacklist.

    Since the characters are used in a RegExp, some special characters must be escaped.

    For example slashes blacklist(input, '\\[\\]').

    Parameters

    • target: string
    • chars: string

    Returns Result<string | undefined>

Generated using TypeDoc