MCPcopy Index your code
hub / github.com/nodejs/node / isStringLiteralJsxAttribute

Function isStringLiteralJsxAttribute

test/fixtures/snapshot/typescript.js:161680–161682  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

161678 (ts.isJsxElement(node) || ts.isJsxSelfClosingElement(node) || ts.isJsxFragment(node)) && (ts.isJsxElement(node.parent) || ts.isJsxFragment(node.parent));
161679 }
161680 function isStringLiteralJsxAttribute(node) {
161681 return ts.isStringLiteral(node) && node.parent && ts.isJsxAttribute(node.parent);
161682 }
161683 })(extractSymbol = refactor.extractSymbol || (refactor.extractSymbol = {}));
161684 })(refactor = ts.refactor || (ts.refactor = {}));
161685})(ts || (ts = {}));

Callers 3

checkNodeFunction · 0.85
isInJSXContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…