Files
med-notes/.pnpm-store/v10/files/81/ac846869ae0b847e8646f2833beee4571a3bf22828941e5980408f34efe1f3af50eadab527bb21ca2f539368ee4446e5d8b8c7249854652d873c72f42414ea
2025-05-09 05:30:08 +02:00

14 lines
275 B
Plaintext

const isMatch = (match, path) => {
const parts = path.split(".");
let part;
let value = match;
while ((part = parts.shift()) != null && value != null) {
value = value[part];
}
return value != null;
};
export {
isMatch
};
//# sourceMappingURL=Matches.js.map