function isOnSameLineWithNextToken(node) {
            const prevToken = sourceCode.getLastToken(node, 1);
            const nextToken = sourceCode.getTokenAfter(node);

            return !!nextToken && astUtils.isTokenOnSameLine(prevToken, nextToken);
        }
function isOnSameLineWithNextToken(node) {
            const prevToken = sourceCode.getLastToken(node, 1);
            const nextToken = sourceCode.getTokenAfter(node);

            return !!nextToken && astUtils.isTokenOnSameLine(prevToken, nextToken);
        }
function isOnSameLineWithNextToken ( node ) { const prevToken = sourceCode . getLastToken ( node , 1 ) ; const nextToken = sourceCode . getTokenAfter ( node ) ; return ! ! nextToken && astUtils . isTokenOnSameLine ( prevToken , nextToken ) ; }
Check whether a given node is on the same line with the next token.
@param {Node} node A statement node to check.
@returns {boolean} `true` if the node is on the same line with the next token.
Check whether a given node is on the same line with the next token .
Check if node is on same line with the next token