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' };isRoute(group) // falseisRoute(route) // true Copy
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' };isRoute(group) // falseisRoute(route) // true