2.0.0 • Published 4 years ago
@rbxts/tableutil v2.0.0
@rbxts/tableutil
A simple table utility for roblox-ts
Updated since this release
Changes
API REMOVALS:
- FastRemove,- FastRemoveFirstValue,- Map,- Filter,- Reduce,- Find,- Every,- Somehave been removed, as you should be using Array methods.
- Assignhas been removed as there is native TypeScript support for it (- {...a, ...b, ...c})
- Extendhas been removed, as there is native TypeScript support for it (- [...a, ...b])
- FlatMaphas been removed, as you can simply use- [...a.map(mapFunction)]
- Keyshas been removed, as there is alternative packages that achieve this (see @rbxts/object-util)
- EncodeJSON/- DecodeJSONhas been removed, it's better practice to use the HttpService methods.
Changelog
2.0.0
- Updated to Knit v0.0.18-alpha- This removes certain APIs such as PrintandIndexOf
- This implements new APIs such as Reverse
 
- This removes certain APIs such as 
- Renamed the exported namespace to TableUtil(previouslytableutil)
1.3.2
- Converted Objectintoobjectfor the types.
1.3.1
- Fixed TableUtil.Sync incorrectly returning the original array in typings (#5)
Installation:
npm i @rbxts/tableutil
Example Usage
import tableutil from "@rbxts/tableutil";
// print a table
tableutil.Print(table, "Table Util Test", true); // recursive print `table` with title "Table Util Test"