Sha256: 40415a38239486379aaacd4b344c0f68de185e88cb88cda4bf9f63201a4a6873
Contents?: true
Size: 444 Bytes
Versions: 5
Compression:
Stored size: 444 Bytes
Contents
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const isEmptyStmts_1 = __importDefault(require("./isEmptyStmts")); function isEmptyBodyStmt(node) { return (0, isEmptyStmts_1.default)(node.body[0]) && !node.body.slice(1).some(Boolean); } exports.default = isEmptyBodyStmt;
Version data entries
5 entries across 5 versions & 1 rubygems