MCPcopy Create free account
hub / github.com/RubyLouvre/anu / isString

Function isString

test/babel.js:9580–9582  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

9578 var t = _ref.types;
9579
9580 function isString(node) {
9581 return t.isLiteral(node) && typeof node.value === "string";
9582 }
9583
9584 function buildBinaryExpression(left, right) {
9585 return t.binaryExpression("+", left, right);

Callers 5

babel.jsFile · 0.70
includesFunction · 0.70
formatValueFunction · 0.70
formatPrimitiveFunction · 0.70
jsescFunction · 0.70

Calls 3

isArrayFunction · 0.85
isObjectLikeFunction · 0.70
baseGetTagFunction · 0.70

Tested by

no test coverage detected