DataJet
Search
⌃
K
Welcome to DataJet
Tasks
Introduction
Tasks
Creating custom task
OOTB (deprecated)
Liquid
Introduction
Tags
Filters
array_equal
base64_decode
base64_encode
concat
content
email
encode_uri
file
flat
flow
ftp
graphql
http
in_groups_of
in_timezone
log
parse
parse_csv
parse_xml
push
random
rest
run
sha1
sum
time_subtract
time_add
Misc
Credits and usage
Variables
Examples
Flow integration
Processing user submitted forms
Create orders from csv file
Create simple order report
Powered By
GitBook
sum
Adds together elements of an array.
{% json ar %}
[1,2,3,4,5,6,7,8,9]
{% endjson %}
{% assign sum_of_elements = ar | sum %}
{{ in_groups | log }}
As a result sum_of_elements variable contains following value:
45
Previous
sha1
Next
time_subtract
Last modified
9mo ago