basename Method
Get file name from the path.
basename(filePath: string): string
Parameter | Type | Description |
---|---|---|
filePath | string | Path of the file. |
Returns - File name.
Defined in
Last Updated: 08 January, 2020
Woah! This page has a great deal of content... Give us a second to load it.