+ Added clear function to ASet
All checks were successful
Build / Build NPM Project (push) Successful in 44s
Build / Tag Version (push) Successful in 8s
Build / Publish Documentation (push) Successful in 37s

* fixed pathedEvent fullPath casing
This commit is contained in:
2025-05-11 14:13:01 -04:00
parent edc059d17d
commit 7500ba502f
3 changed files with 16 additions and 8 deletions

View File

@ -29,6 +29,14 @@ export class ASet<T> extends Array {
return this;
}
/**
* Remove all elements
*/
clear() {
this.splice(0, this.length);
return this;
}
/**
* Delete elements from set
* @param items Elements that will be deleted