MCPcopy Create free account
hub / github.com/cyclejs/cyclejs / sinksAreXStream

Function sinksAreXStream

devtool/src/graphSerializer.ts:266–278  ·  view source on GitHub ↗
(sinks: Object | null)

Source from the content-addressed store, hash-verified

264}
265
266function sinksAreXStream(sinks: Object | null): boolean {
267 if (sinks === null) {
268 return false;
269 }
270 for (let key in sinks) {
271 if (sinks.hasOwnProperty(key)) {
272 if (sinks[key] && typeof sinks[key].setDebugListener !== 'function') {
273 return false;
274 }
275 }
276 }
277 return true;
278}
279
280interface GraphSerializerSources {
281 id: Stream<string>;

Callers 1

GraphSerializerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected