Template:And/doc: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy Created page with "Behaves like the lua and operator. Useful for parameters. Example: <pre>{{and|{{{1|}}}|{{{2|}}}}}</pre> * <nowiki>{{and|a|b}}</nowiki> -> {{and|a|b}} * <nowiki>{{and||b}}</n..." |
>NXTBoy Created page with "Behaves like the lua and operator. Useful for parameters. Example: <pre>{{and|{{{1|}}}|{{{2|}}}}}</pre> * <nowiki>{{and|a|b}}</nowiki> -> {{and|a|b}} * <nowiki>{{and||b}}</n..." |
(No difference)
|
Latest revision as of 21:21, 18 April 2012
Behaves like the lua and operator. Useful for parameters. Example:
{{and|{{{1|}}}|{{{2|}}}}}
- {{and|a|b}} -> b
- {{and||b}} ->
- {{and|a|}} ->
- {{and||}} ->
Will take 2 if 1 is non-blank, else blank.