Skip to content

reverse

reverse(target)

Reverses the characters in target string.

ts
reverse("hello world"); // "dlrow olleh"
reverse("abc"); // "cba"
ts
pipe("hello world", reverse()); // "dlrow olleh"
pipe("abc", reverse()); // "cba"