kaven-basic - v6.0.0
    Preparing search index...

    Function TrimPath

    • Removes trailing slashes (/ and ``) from the given path string.

      Parameters

      • pathStr: string

        The path string from which trailing slashes need to be removed.

      Returns string

      The path string with trailing slashes removed. If the input string is falsy, it returns the original string.

      4.0.0

      2025-07-03