:sig
function basename(path : string) string

:params
path : a path string

:returns
the final path component

:content
`basename` returns the final component of a path.

It does not access the file system.

:example capy render
print(basename("/var/www/site/index.capy"), "\n")

:see-group
paths
