Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IF on Function? #200

Open
brunoromeo001 opened this issue Feb 17, 2021 · 1 comment
Open

IF on Function? #200

brunoromeo001 opened this issue Feb 17, 2021 · 1 comment

Comments

@brunoromeo001
Copy link

Is it possible to do an if in a function?
I have a function that returns iduser = 1 and I wanted to do an if that return.

@feulf
Copy link
Owner

feulf commented Feb 17, 2021

Hi, I suggest, you try it and then you check what the template output look like. Hope that helps.

Just keep on mind that I don't support RainTPL anymore, so I'd recommend to try a different template engine if you need something more advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants