Skip to content

add new methods avg, sum, at, keys, of

Compare
Choose a tag to compare
@roberto-butti roberto-butti released this 28 Dec 10:49
· 281 commits to main since this release

Add

  • of() static method, for creating Arr instance from parameters;
  • keys() method for extracting keys from Arr;
  • at() method for returning the item at that integer index;
  • sum() method;
  • avg() method;
  • doc/arr.md: class usage documentation.

Improve

  • Improve concat() method, now accept array and scalar values.