• The result either is the empty string or ends with a slash.
    • Use case: String-concatenate a root-relative path to the result.

    Parameters

    • webPath: string

    Returns string