variable replaceimport { replace } from "https://deno.land/x/core_fn@v1.0.0-beta.16/uncurry/string/replace.ts"; Replaces matches for from in string or RegExp with to. ExamplesExample 1 replace('hello Tom', 'Tom', 'Bob') // 'hello Bob' replace('hogehoge', 'hoge', 'fuga') // 'fugahoge' type<From extends string | RegExp, To extends string, T extends string>(from: From,to: To,val: T,) => Replace<T, From, To>