| sidebar_position | 0 |
|---|
Unofficial extensions to the Lua standard libraries
Extensions are added to the existing global standard library tables. You can simply index them:
debug.dump({ 1, 2, 3 })Prints a human-readable string representation of the given object. Mostly useful for dumping tables, but unsuitable for serialization purposes. The output format cannot be considered stable. Currently uses inspect internally, though this may change in the future.
Returns a string representing the difference between firstValue and secondValue. The exact format is subject to change.
Tokenizes the given inputString based on a configurable delimiter character, which is stripped from the output.
Returns a human-readable representation of the given fileSizeInBytes using standard units. The exact format is subject to change.
Returns true if the given table contains value in the array part of the table, and false otherwise. The dictionary part is ignored.
| Version | What happened? |
|---|---|
| v0.0.2 | Added string.filesize |
| v0.0.1 | Initial release |