From 8e0b2d2ef8f83e3f80b098f242405ad846ef6831 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 7 Feb 2015 23:04:23 +0000 Subject: [PATCH] Updated lume.push()'s README section --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 97d34db..417299d 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,8 @@ lume.weightedchoice({ ["cat"] = 10, ["dog"] = 5, ["frog"] = 0 }) ``` ### lume.push(t, ...) -Pushes all the given values to the end of the table `t` and returns the values. +Pushes all the given values to the end of the table `t` and returns the pushed +values. Nil values are ignored. ```lua local t = { 1, 2, 3 } lume.push(t, 4, 5) -- `t` becomes { 1, 2, 3, 4, 5 }