function basenameimport { basename } from "https://dotland.deno.dev/std@0.223.0/path/basename.ts"; basename(path: string, suffix?): stringReturn the last portion of a path. Trailing directory separators are ignored, and optional suffix is removed. ExamplesExample 1 import { basename } from "https://deno.land/std@0.223.0/path/basename.ts"; basename("/home/user/Documents/"); // "Documents" basename("C:\\user\\Documents\\image.png"); // "image.png" basename("/home/user/Documents/image.png", ".png"); // "image" Parameterspath: string path to extract the name from. optionalsuffix = [UNSUPPORTED] suffix to remove from extracted name. Returnsstring