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