method default.PlatformPath.dirname
Jump to headingPlatformPath.dirname(path: string): string
Return the directory name of a path. Similar to the Unix dirname command.
Parameters Jump to heading
Jump to headingpath: string
the path to evaluate.
Return Type Jump to heading
string
Throws Jump to heading
TypeError
if path
is not a string.