src/JSUtils/Session.js
function isInFunctionalCall(lex) {
            // in a call, or inside array or object brackets that are inside a function.
            return (lex && (lex.info === "call" ||
                (lex.info === undefined && (lex.type === "]" || lex.type === "}") &&
                    lex.prev.info === "call")));
        }
function isInFunctionalCall(lex) {
            // in a call, or inside array or object brackets that are inside a function.
            return (lex && (lex.info === "call" ||
                (lex.info === undefined && (lex.type === "]" || lex.type === "}") &&
                    lex.prev.info === "call")));
        }
function isInFunctionalCall ( lex ) { // in a call, or inside array or object brackets that are inside a function. return ( lex && ( lex . info === "call" || ( lex . info === undefined && ( lex . type === "]" || lex . type === "}" ) && lex . prev . info === "call" ) ) ) ; }
Test is a lexical state is in a function call.

@param {Object} lex - lexical state.
@return {Object | boolean}
Test is a lexical state is in a function call .