Sha256: 13d40cda042c86b8258c20e88b87d0bd151954219fc661de9cf8f38c4ebec262

Contents?: true

Size: 306 Bytes

Versions: 5

Compression:

Stored size: 306 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isEmptyStmts(node) {
    return (node &&
        node.type === "stmts" &&
        node.body.length === 1 &&
        node.body[0].type === "void_stmt" &&
        !node.body[0].comments);
}
exports.default = isEmptyStmts;

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prettier-2.0.0 dist/utils/isEmptyStmts.js
prettier-2.0.0.pre.rc4 dist/utils/isEmptyStmts.js
prettier-2.0.0.pre.rc3 dist/utils/isEmptyStmts.js
prettier-2.0.0.pre.rc2 dist/utils/isEmptyStmts.js
prettier-2.0.0.pre.rc1 dist/utils/isEmptyStmts.js