Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

stripBasename

function stripBasename(pathname: string, basename: string): string | null;
§
stripBasename(pathname: string, basename: string): string | null
[src]

§Parameters

§
pathname: string
[src]
§
basename: string
[src]

§Return Type

§
string | null
[src]