if (inIndex >= this.values.length){ this.values[inIndex] = inProps; }else{ this.values.splice(inIndex, 0, inProps); }