@babel/types
Version:
Babel Types is a Lodash-esque utility library for AST nodes
14 lines (11 loc) • 406 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = buildMatchMemberExpression;
var _matchesPattern = require("./matchesPattern");
function buildMatchMemberExpression(match, allowPartial) {
const parts = match.split(".");
return member => (0, _matchesPattern.default)(member, parts, allowPartial);
}
//# sourceMappingURL=buildMatchMemberExpression.js.map
;