is-top-page.ts 135 B

1234567
  1. /**
  2. * Whether path is the top page
  3. * @param path
  4. */
  5. export const isTopPage = (path: string): boolean => {
  6. return path === '/';
  7. };