MCPcopy Index your code
hub / github.com/dchester/jsonpath / isLeftHandSide

Function isLeftHandSide

jsonpath.js:1992–1994  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

1990 // Return true if provided expression is LeftHandSideExpression
1991
1992 function isLeftHandSide(expr) {
1993 return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;
1994 }
1995
1996 // 11.1.4 Array Initialiser
1997

Callers 4

parsePostfixExpressionFunction · 0.85
parseUnaryExpressionFunction · 0.85
parseForStatementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected