method StringUtils.escapeCharimport { StringUtils } from "https://dotland.deno.dev/x/ts_morph@19.0.0/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