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

Function isStringOrNumericLiteralLike

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

Source from the content-addressed store, hash-verified

17484 }
17485 ts.isAsyncFunction = isAsyncFunction;
17486 function isStringOrNumericLiteralLike(node) {
17487 return ts.isStringLiteralLike(node) || ts.isNumericLiteral(node);
17488 }
17489 ts.isStringOrNumericLiteralLike = isStringOrNumericLiteralLike;
17490 function isSignedNumericLiteral(node) {
17491 return ts.isPrefixUnaryExpression(node) && (node.operator === 39 /* SyntaxKind.PlusToken */ || node.operator === 40 /* SyntaxKind.MinusToken */) && ts.isNumericLiteral(node.operand);

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…