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

Add support to conditional check for undefined tags #75

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

bprucha
Copy link

@bprucha bprucha commented Mar 25, 2024

When a tag has not defined, allow a {UNDEFINED} keyword value to be used within the if condition to determine if the tag has been defined or not.

Examples:

{{if({{Foo}},==,{UNDEFINED})ifFoo is undefinedendif}}

@if Bar == {UNDEFINED}
Bar is undefined
asdasdasdasdasdasd
@endif

@shps951023 shps951023 merged commit f9c4132 into mini-software:main Apr 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants