Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/shared/util.ts>trimSuffix

The Full-stack Framework in Deno.
Go to Latest
function trimSuffix
import { trimSuffix } from "https://deno.land/x/aleph@1.0.0-beta.42/shared/util.ts";

Parameters

s: string
suffix: string

Returns

string