summaryrefslogtreecommitdiff
path: root/doc/menu_lua_api.txt
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-09-10 19:24:17 +0200
committerPilzAdam <pilzadam@minetest.net>2013-09-10 21:38:44 +0200
commitdd5c451e0349f57657010e3f89f3310412984ba9 (patch)
treee7650524d72ae96d820e1e137871cea485b65259 /doc/menu_lua_api.txt
parentd820a6bfd807b6d181a858f3ea8a0d0f5c2b1879 (diff)
downloadminetest-dd5c451e0349f57657010e3f89f3310412984ba9.tar.gz
minetest-dd5c451e0349f57657010e3f89f3310412984ba9.tar.bz2
minetest-dd5c451e0349f57657010e3f89f3310412984ba9.zip
Allow non-string arguments for minetest.is_yes()
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r--doc/menu_lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index 5763f875c..ca815862e 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -182,8 +182,8 @@ string:split(separator)
^ eg. string:split("a,b", ",") == {"a","b"}
string:trim()
^ eg. string.trim("\n \t\tfoo bar\t ") == "foo bar"
-minetest.is_yes(string)
-^ returns whether string can be interpreted as yes
+minetest.is_yes(arg)
+^ returns whether arg can be interpreted as yes
Class reference
----------------