MCPcopy Create free account
hub / github.com/dabbott/javascript-playgrounds / isTranspilerId

Function isTranspilerId

components/workspace/Workspace.js:25–25  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

23const transpilerPrefix = '@babel-'
24const getTranspilerId = (filename) => `${transpilerPrefix}${filename}`
25const isTranspilerId = (filename) => filename.indexOf(transpilerPrefix) === 0
26
27const containsPane = (panes, target) =>
28 panes.some(pane => (

Callers 1

Workspace.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected