Simple, small array-paginating TypeScript/JavaScript class
published 8.0.1 4 years agoa simple TypeScript interface
published 1.0.2 6 years agoFunctions that check if the index is valid and the array is actually an array.
published 1.0.6 5 years agoTakes 2 arrays as arguments, and if they match, returns true
published 2.0.3 3 years ago3 functions: getSum(), getAverage(), getProduct()
published 2.0.3 3 years ago3 functions: getRounded(), getRoundedUp(), getRoundedDown()
published 3.0.1 4 years ago2 functions that return array of numbers in ascending order, and array of numbers in descending order, respectively.
published 2.0.1 4 years agoFunction takes a float and returns the digits on the right of the decimal
published 2.0.2 4 years agoa rounding function that may give more accurate rounding results than the method taught in school. It avoids cumulative errors
published 2.0.0 4 years ago2 functions: one gives you 1 random integer within a chosen range, the other gives you many.
published 2.0.2 3 years agoReturns the median from an array of numbers
published 3.0.0 4 years agoA better alternative to the sneaky exclamation point
published 2.0.1 3 years agoFunctions append() and prepend(), which are alternatives to Array.push() and Array.unshift()
published 4.0.0 3 years agofunctions that remove and return sections of the array
published 2.0.1 5 years agoFunction that removes and returns section of the array, starting with, or close to, a particular value
published 1.0.8 5 years agoArray-handling function that removes items adjacent to (or near) a given value.
published 1.0.3 5 years agoFunctions that search for instances of a value in an array and remove them.
published 3.0.0 2 years agoFunction removes any duplicate items in an array
published 2.0.0 4 years agoIt returns a copy of the array with the order of items randomized
published 2.0.1 4 years agoOrders an array alphabetically. Optional callback allows you to choose what value in each element to sort by
published 2.0.1 4 years agoFunction triggers error if argument is not an array with at least one item
published 1.0.2 5 years agoAn alternative to JSON.parse() that gives more helpful error messages
published 2.0.1 3 years agoFunction takes array and triggers error if not all items in it are arrays
published 2.0.1 4 years agoFunction that inserts new items at a specified index in the array
published 4.0.2 2 years agoReplaces 1 item in array at specified index
published 1.1.2 5 years ago