Skip to content

Commit 01b2d2c

Browse files
red-001Zeno-
authored andcommittedFeb 19, 2017
Fix the documentation for minetest.is_yes (#5276)
1 parent 00123ee commit 01b2d2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎doc/lua_api.txt

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

0 commit comments

Comments
 (0)
Please sign in to comment.