Fix the documentation for `minetest.is_yes` (#5276)

master
red-001 2017-02-19 16:11:53 +00:00 committed by Zeno-
parent 00123ee04d
commit 01b2d2c66c
1 changed files with 1 additions and 1 deletions

View File

@ -1914,7 +1914,7 @@ Helper functions
* `minetest.formspec_escape(string)`: returns a string
* escapes the characters "[", "]", "\", "," and ";", which can not be used in formspecs
* `minetest.is_yes(arg)`
* returns whether `arg` can be interpreted as yes
* returns true if passed 'y', 'yes', 'true' or a number that isn't zero.
* `minetest.get_us_time()`
* returns time with microsecond precision. May not return wall time.
* `table.copy(table)`: returns a table