Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ isEvent
Function
isEvent
packages/browser/src/client/tester/tester.ts:301–303 ·
view source on GitHub ↗
(data: unknown)
Source
from the content-addressed store, hash-verified
299
},
type
).catch(() => {})
300
}
301
function
isEvent(data: unknown): data is IframeChannelEvent {
302
return
typeof data ===
'object'
&& !!data &&
'event'
in data
303
}
Callers
1
tester.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected