UNPKG

dependency-injection-cat

Version:

DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!

9 lines (8 loc) 285 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isNamedStatement = void 0; var lodash_1 = require("lodash"); function isNamedStatement(node) { return (0, lodash_1.get)(node, 'name') !== undefined; } exports.isNamedStatement = isNamedStatement;