:sig
String dirname(String fn)

:params
fn : raw filename
return value : the directory's name

:see
>sys

:content
Isolates the directory component from a path or file name.

## Related Concepts

- PHP: `dirname()`
- JavaScript / Node.js: Node `path.dirname()`
