dirname
Type: Function
Return the directory path.
Example
dirname(path="/usr/bin/ls") -> "/usr/bin"
See also
| Argument | Type | Description |
|---|---|---|
path |
Any (required) | Extract directory name of path |
sep |
string | Separator to use (default /) |
path_type |
string | Type of path (e.g. windows, linux) |
Platforms: macOS, Linux, Windows