From 6b5450ce9356e48099a926d1950d9bbfd1db0f6e Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> Date: Fri, 31 Dec 2021 15:40:37 +0100 Subject: [PATCH] Add info about included functions and code origin --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a495b86..dc5cff2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # luax -Small additions to the lua standard library +Small additions to the lua standard library, mostly stolen from https://github.com/minetest/minetest/blob/master/builtin/common/misc_helpers.lua + +## Included + +- `math.clamp(min, max, v)` +- `string.split(str, delim, include_empty, max_splits, sep_is_pattern)` +- `table.copy(t, seen)` -- 2.44.0