Documentation
    Preparing search index...

    Function isGroup

    • import type { Group } from '@chubbyts/chubbyts-framework/dist/router/group';
      import type { Route } from '@chubbyts/chubbyts-framework/dist/router/route';

      const group: Group = { ..., _group: 'Group' };
      const route: Route = { ..., _route: 'Route' };

      isGroup(group) // true
      isGroup(route) // false

      Parameters

      • group: unknown

      Returns group is Group