Skip to main content
Module

x/lodash_es/mod.ts>trimEnd

lodash for deno use
Latest
function trimEnd
import { trimEnd } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Removes trailing whitespace or specified characters from string.

Examples

_.trimEnd(' abc '); // => ' abc'

.trimEnd('--abc--', '-'); // => '-_-abc'

Parameters

string
chars
guard