---
title: >-
  Liquid arrays now support the find, find_index, has, and reject filters -
  Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/liquid-arrays-now-support-the-find-findindex-has-and-reject-filters
  md: >-
    https://shopify.dev/changelog/liquid-arrays-now-support-the-find-findindex-has-and-reject-filters.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Themes
    handle: dev_themes
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-02-11T04:26:48-05:00'
  postedAt: '2025-02-11T16:00:00-05:00'
  updatedAt: '2025-02-11T11:48:43-05:00'
  effectiveAt: '2025-02-12T16:00:00-05:00'
---

February 11, 2025

Tags:

* Themes

# Liquid arrays now support the `find`, `find_index`, `has`, and `reject` filters

We’ve introduced the following new filters to improve how you handle arrays in your Liquid templates. Now, you can quickly retrieve or check for items in an array without writing verbose loops or complex conditional logic.

* **`find`**: Returns the first item that matches your condition
* **`find_index`**: Returns the index of the item that matches your condition
* **`has`**: Returns `true` when the array includes an item that matches your condition
* **`reject`**: Returns an array without items matching your condition

These filters make your Liquid code more concise and declarative.

To learn more, check out the [Liquid arrays API docs](https://shopify.dev/docs/api/liquid/filters/array-filters). Happy coding!
