variable trimEndimport { trimEnd } from "https://deno.land/x/core_fn@v1.0.0-beta.16/mod.ts"; Removes the trailing white space and line terminator characters from a string. ExamplesExample 1 trimEnd('hello ') // 'hello' trimEnd('hello \n\t') // 'hello' type<T extends string>(val: T) => TrimEnd<T>