/** * Whether path is the top page * @param path */ export const isTopPage = (path: string): boolean => { return path === '/'; };