• Gets the last path segment of a path. Eg. a/b/c would return c. For root, returns root.

    Parameters

    • path: string

    Returns string

Generated using TypeDoc