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