returns the last element of path. Trailing slashes are removed before extracting the last element.
If the path is empty, Base returns ".". If the path consists entirely of slashes, Base returns "/".
Generated using TypeDoc
returns the last element of path. Trailing slashes are removed before extracting the last element.
Returns
If the path is empty, Base returns ".". If the path consists entirely of slashes, Base returns "/".