method StringUtils.escapeCharimport { StringUtils } from "https://dotland.deno.dev/x/ts_morph@17.0.1/common/mod.ts"; escapeChar(str: string, char: string): stringEscapes all the occurrences of the char in the string. Escapes all the occurrences of the char in the string. Parametersstr: stringchar: stringReturnsstring