MCPcopy Create free account
hub / github.com/nodejs/node / isHyphenatedJsxName

Function isHyphenatedJsxName

test/fixtures/snapshot/typescript.js:73769–73771  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

73767 return getJsxElementTypeAt(node) || anyType;
73768 }
73769 function isHyphenatedJsxName(name) {
73770 return ts.stringContains(name, "-");
73771 }
73772 /**
73773 * Returns true iff React would emit this tag name as a string rather than an identifier or qualified name
73774 */

Callers 3

generateJsxAttributesFunction · 0.85
isIgnoredJsxPropertyFunction · 0.85
isKnownPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected