Jump to content

All translations

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)-- These return "bar":
yesno('foo', 'bar')
yesno({}, 'bar')
yesno(5, 'bar')
yesno(function() return 'This is a function.' end, 'bar')
</syntaxhighlight>
Note that the blank string also functions this way:
<syntaxhighlight lang="lua">
yesno('')        -- Returns nil.
yesno('', true)  -- Returns true.
yesno('', 'bar') -- Returns "bar".
</syntaxhighlight>