MCPcopy Index your code
hub / github.com/tinyplex/tinybase / isOtherUiSource

Function isOtherUiSource

test/unit/documentation.test.ts:290–300  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

288 source.includes('from "tinybase/ui-solid"');
289
290const isOtherUiSource = (source: string): boolean =>
291 source.includes(`from 'react'`) ||
292 source.includes('from "react"') ||
293 source.includes(`from 'react-dom`) ||
294 source.includes('from "react-dom') ||
295 source.includes(`from 'tinybase/ui-react`) ||
296 source.includes('from "tinybase/ui-react') ||
297 source.includes(`from 'svelte`) ||
298 source.includes('from "svelte') ||
299 source.includes(`from 'tinybase/ui-svelte`) ||
300 source.includes('from "tinybase/ui-svelte');
301
302const transformSolidJsx = (source: string, loader: 'jsx' | 'tsx'): string =>
303 babelTransformSync(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…