@umbraco-cms/backoffice
    Preparing search index...

    Function isPathActive

    • Determines whether the path is active. If the full path starts with the path and is followed by the end of the string or a "/" the path is considered active.

      Parameters

      • path: string

        The path to check.

      • OptionalfullPath: string = ...

        The full path to check against.

      Returns boolean

      True if the path is active.