An array-manipulating typescript/javascript class with properties and methods that give info about what is in the array