Updated ASet & Path Events
All checks were successful
Build / Build NPM Project (push) Successful in 36s
Build / Tag Version (push) Successful in 7s
Build / Publish Documentation (push) Successful in 1m40s

This commit is contained in:
2024-10-17 00:36:53 -04:00
parent 2dce1ad9ac
commit 1c1a3f6a6e
3 changed files with 18 additions and 15 deletions

View File

@ -24,6 +24,7 @@ export class ASet<T> extends Array {
*/
add(...items: T[]) {
items.filter(el => !this.has(el)).forEach(el => this.push(el));
return this;
}
/**
@ -35,6 +36,7 @@ export class ASet<T> extends Array {
const index = this.indexOf(el);
if(index != -1) this.slice(index, 1);
})
return this;
}
/**