Appearance
String.trimEnd(target)
Removes whitespace from the end of target string.
target
import { String } from "@monstermann/string"; String.trimEnd(" hello world "); // " hello world"
import { String } from "@monstermann/string"; pipe(" hello world ", String.trimEnd()); // " hello world"