Added filter function to path events
All checks were successful
Build / Build NPM Project (push) Successful in 37s
Build / Tag Version (push) Successful in 7s
Build / Publish Documentation (push) Successful in 1m46s

This commit is contained in:
2024-10-23 14:13:47 -04:00
parent fbbe3c99ef
commit a1ea8cdf67
4 changed files with 30 additions and 9 deletions

View File

@ -6,13 +6,9 @@
</head>
<body>
<script type="module">
import {PathEvent, PE} from './dist/index.mjs';
import {PathEvent} from './dist/index.mjs';
const test = PathEvent.combine(PE`storage:n`);
debugger;
console.log(test.methods.indexOf('n'));
test.methods.delete('n').add('c');
console.log(test);
console.log(PathEvent.filter(['storage/inventory:c', 'data:*'], `storage`));
</script>
</body>
</html>