DataTools
Documentation of the dataTools library.
The dataTools library adds extra utilities for working with different data types like strings and tables. It is always loaded as a global and adds to the native string and table globals.
table.find(haystack: table, needle: any): any or nilFindsneedleinhaystackand returns its key ornil.table.copy(original: table): tableRecursively copies a table and returns the identical copy.convert(amount: number, fromUnit: string, toUnit: string): number or nil, stringConverts from a unit to another unit. Returns nil and an error message if it fails. Supported units are:B - GB
B - GiB
Last updated