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

Iterate through object keys #325

Open
dandv opened this issue Mar 13, 2019 · 0 comments
Open

Iterate through object keys #325

dandv opened this issue Mar 13, 2019 · 0 comments

Comments

@dandv
Copy link

dandv commented Mar 13, 2019

(Apologies if this is the wrong repo; landed here from https://github.com/SparkPost/sparkpost-api-documentation/blob/master/services/substitutions-reference.md)

Is there a way to iterate through object keys in the template language? For example, I want to output all keys in an object that have a non-zero value.

Thanks!

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

1 participant