ultisuite-client/lib/suite/drive-route.ts
2026-06-09 17:06:20 +02:00

5 lines
192 B
TypeScript

/** True for any in-app Drive route (`/drive`, `/drive/...`). */
export function isDriveAppPath(pathname: string): boolean {
return pathname === "/drive" || pathname.startsWith("/drive/")
}