Computes the difference of arrays.
{% json array_1 %}[1,2,3,4,5]{% endjson %} {% json array_2 %}[1,2,3,4,5]{% endjson %} {% assign ar_diff = array_1 | array_difference: array_2 %} {{ ar_diff | log }} {% comment %} Logs [] to console {% endcomment %}
Last updated 6 months ago