source: trip-planner-front/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 351 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = buildMatchMemberExpression;
7
8var _matchesPattern = require("./matchesPattern");
9
10function buildMatchMemberExpression(match, allowPartial) {
11 const parts = match.split(".");
12 return member => (0, _matchesPattern.default)(member, parts, allowPartial);
13}
Note: See TracBrowser for help on using the repository browser.