function isEndOfArrowBlock(lastToken) {
            if (!astUtils.isClosingBraceToken(lastToken)) {
                return false;
            }
            const node = sourceCode.getNodeByRangeIndex(lastToken.range[0]);

            return (
                node.type === "BlockStatement" &&
                node.parent.type === "ArrowFunctionExpression"
            );
        }
function isEndOfArrowBlock(lastToken) {
            if (!astUtils.isClosingBraceToken(lastToken)) {
                return false;
            }
            const node = sourceCode.getNodeByRangeIndex(lastToken.range[0]);

            return (
                node.type === "BlockStatement" &&
                node.parent.type === "ArrowFunctionExpression"
            );
        }
function isEndOfArrowBlock ( lastToken ) { if ( ! astUtils . isClosingBraceToken ( lastToken ) ) { return false ; } const node = sourceCode . getNodeByRangeIndex ( lastToken . range [ 0 ] ) ; return ( node . type === "BlockStatement" && node . parent . type === "ArrowFunctionExpression" ) ; }
Check whether a given token is the closing brace of an arrow function.
@param {Token} lastToken A token to check.
@returns {boolean} `true` if the token is the closing brace of an arrow function.
Check whether a given token is the closing brace of an arrow function .
Check if the last token is a closing brace