* Return the last portion of a path. Similar to the Unix basename command. * Often used to extract the file name from a fully qualified path. * * @param path the path to evaluate. * @param suffix optionally, an extension to remove from the result.
(path: string, suffix?: string)
| 107 | * @param suffix optionally, an extension to remove from the result. |
| 108 | */ |
| 109 | basename(path: string, suffix?: string): string; |
| 110 | /** |
| 111 | * Return the extension of the path, from the last '.' to end of string in the last portion of the path. |
| 112 | * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. |
no outgoing calls
no test coverage detected