MCPcopy Index your code
hub / github.com/pyscript/pyscript / isScript

Function isScript

core/src/core.js:51–51  ·  view source on GitHub ↗
({ tagName })

Source from the content-addressed store, hash-verified

49
50// generic helper to disambiguate between custom element and script
51const isScript = ({ tagName }) => tagName === "SCRIPT";
52
53// Used to create either Pyodide or MicroPython workers
54// with the PyScript module available within the code

Callers 2

targetFunction · 0.85
onReadyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected