A simple table utility for roblox-ts
Updated since this release
API REMOVALS:
FastRemove
,FastRemoveFirstValue
,Map
,Filter
,Reduce
,Find
,Every
,Some
have been removed, as you should be using Array methods.Assign
has been removed as there is native TypeScript support for it ({...a, ...b, ...c}
)Extend
has been removed, as there is native TypeScript support for it ([...a, ...b]
)FlatMap
has been removed, as you can simply use[...a.map(mapFunction)
]Keys
has been removed, as there is alternative packages that achieve this (see @rbxts/object-util)EncodeJSON
/DecodeJSON
has been removed, it's better practice to use the HttpService methods.
- Updated to Knit v0.0.18-alpha
- This removes certain APIs such as
Print
andIndexOf
- This implements new APIs such as
Reverse
- This removes certain APIs such as
- Renamed the exported namespace to
TableUtil
(previouslytableutil
)
- Converted
Object
intoobject
for the types.
- Fixed TableUtil.Sync incorrectly returning the original array in typings (#5)
npm i @rbxts/tableutil
import tableutil from "@rbxts/tableutil";
// print a table
tableutil.Print(table, "Table Util Test", true); // recursive print `table` with title "Table Util Test"