MCPcopy Index your code
hub / github.com/reactjs/react-rails / isLeftHandSide

Function isLeftHandSide

lib/assets/javascripts/JSXTransformer.js:5305–5307  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

5303 // Return true if provided expression is LeftHandSideExpression
5304
5305 function isLeftHandSide(expr) {
5306 return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;
5307 }
5308
5309 function isAssignableLeftHandSide(expr) {
5310 return isLeftHandSide(expr) || expr.type === Syntax.ObjectPattern || expr.type === Syntax.ArrayPattern;

Callers 4

isAssignableLeftHandSideFunction · 0.85
parsePostfixExpressionFunction · 0.85
parseUnaryExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected