Skip to content

Create interface for object truth values#747

Merged
mattcoley merged 2 commits into
masterfrom
interface-truth-values
Sep 16, 2021
Merged

Create interface for object truth values#747
mattcoley merged 2 commits into
masterfrom
interface-truth-values

Conversation

@mattcoley

Copy link
Copy Markdown
Collaborator

Allows an object to determine its truth value for resolving expressions like {% if object %}.

Comment thread src/main/java/com/hubspot/jinjava/util/ObjectTruthValue.java Outdated
Co-authored-by: Jack Smith <72623970+jasmith-hs@users.noreply.github.com>
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