Skip to content
Permalink
Browse files

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

  • Loading branch information...
red-001 authored and Zeno- committed Feb 19, 2017
1 parent 00123ee commit 01b2d2c66c9095341554400ba67505b137ec1d86
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/lua_api.txt
@@ -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

0 comments on commit 01b2d2c

Please sign in to comment.
You can’t perform that action at this time.