• Remove characters with a numerical value < 32 and 127, mostly control characters.

    If keep_new_lines is true, newline characters are preserved (\n and \r, hex 0xA and 0xD). Unicode-safe in JavaScript.

    Parameters

    • target: string

      The target

    • keep_new_lines: boolean

    Returns Result<undefined> | Result<Result<undefined | string>>

Generated using TypeDoc