Skip to main content
Module

x/froebel/string.ts>suffix

A strictly typed utility library.
Go to Latest
variable suffix
import { suffix } from "https://deno.land/x/froebel@v0.22.0/string.ts";

Returns str suffixed with suffix. Same case and type behavior as prefix.

type

<T0 extends string, T1 extends string, C extends StringCase | void = void>(
str: T1,
suffix: T0,
caseMod?: C,
) => Suffix<T1, T0, C>