Appearance
String.endsWith(target, source)
Checks if target string ends with source string.
target
source
import { String } from "@monstermann/string"; String.endsWith("hello world", "world"); // true
import { String } from "@monstermann/string"; pipe("hello world", String.endsWith("world")); // true