import { RouteLocationRaw , RouteRecordName } from './types' ; export function isRouteLocation ( route ) { const type = typeof route ; return type == 'string' || ( route && route == 'object' ) ; } export function isRouteName ( name ) { const type = typeof name ; return type == 'string' || type == 'symbol' ; } export const isBrowser = typeof window != 'undefined' ;