contains - Liquid Filter Reference - 1.0.0
Filter Name | contains |
Group | Arrays |
Version | 1.0.0 |
Description
Returns true if the array contains the supplied item
Examples
{{ numbers | contains: 5 }}
true
Back to Liquid Reference for 1.0.0
Back to Documentation