Function |parent
fs/path::|parent
Usage
|parent(path)
Parameters
↳ path:
string
Return
↴ string
Gives parent path.
Return the path up to the parent of the designated component, or emtpy string if none (/usr
for /usr/bin
, empty for /
).