Skip to main content
Module

x/rimbu/typical/mod.ts>Str.Reverse

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Str.Reverse
import { type Str } from "https://deno.land/x/rimbu@0.12.3/typical/mod.ts";
const { Reverse } = Str;

Returns the given string reversed.

Examples

Example 1

Reverse<'abcd'> => 'dcba'

Type Parameters

S extends string
definition: ReverseHelper<S, "">