Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- or you could use a function carrier;
- func a()
- isTheComponentFunction;
- end
- func b()
- doesNothing
- end
- c=(a~=nil and a or b); -- shorthand for if a~=nil then c=a else c=b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement