MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / to_message

Function to_message

extension/src/shared.ts:107–109  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

105}
106
107export function to_message(e: any): Message | null {
108 return e && typeof e === 'object' && typeof e['kind'] === 'string' ? e : null
109}
110
111export type Port = chrome.runtime.Port
112

Callers 2

port_on_messageFunction · 0.85
window_on_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…