Skip to content

How to check if the Entry field type relation is empty in antlers? #8705

Discussion options

You must be logged in to vote

{{ if (categories | count) > 0 }} should work for this

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JeremyWorkWork
Comment options

Answer selected by JeremyWorkWork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants