UNPKG

@conarti/eslint-plugin-feature-sliced

Version:
12 lines (11 loc) 317 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hasPath = void 0; const shared_1 = require("../shared"); function hasPath(node) { if ((0, shared_1.isObject)(node) && 'source' in node) { return node.source !== null; } return false; } exports.hasPath = hasPath;