Skip to content

Function: basename()

basename(inputPath): string

Final segment of a POSIX path.

string

string