Menu: Difference between revisions
Content added Content deleted
No edit summary |
Langurmonkey (talk | contribs) m (→{{header|langur}}: replace deprecated ZLS token with "") |
||
Line 1,724: | Line 1,724: | ||
<syntaxhighlight lang="langur">val .select = f(.entries) { |
<syntaxhighlight lang="langur">val .select = f(.entries) { |
||
if not isArray(.entries): throw "invalid args" |
if not isArray(.entries): throw "invalid args" |
||
if len(.entries) == 0: return |
if len(.entries) == 0: return "" |
||
# print the menu |
# print the menu |