Skip to main content

Take Mutation

The Take mutation allows you to select specific elements from a list based on their position. This can be useful when you want to focus on certain parts of a list.

Options

  • Take from: The position in the list from which to start taking elements. Options are 'First', 'Second', 'Third', etc., up to 'Tenth', and 'Last'.
  • Take to: The position in the list where you want to stop taking elements. Same options as 'Take from'.

Example

In this example we use the Take mutation to extract the first tag to use as part of the product title.

A screenshot showing the Take mutation.
Take Mutation Example