---
title: Conditional Modifiers
layout: ../../layouts/MainLayout.astro
---

import { MiniRepl } from '../../docs/MiniRepl';
import { JsDoc } from '../../docs/JsDoc';

# Conditional Modifiers

## lastOf

<JsDoc client:idle name="Pattern.lastOf" h={0} />

## firstOf

<JsDoc client:idle name="Pattern.firstOf" h={0} />

## when

<JsDoc client:idle name="Pattern.when" h={0} />

## chunk

<JsDoc client:idle name="Pattern.chunk" h={0} />

### chunkBack

<JsDoc client:idle name="Pattern.chunkBack" h={0} />

### fastChunk

<JsDoc client:idle name="Pattern.fastChunk" h={0} />

## arp

<JsDoc client:idle name="Pattern#arp" h={0} />

## arpWith 🧪

<JsDoc client:idle name="Pattern#arpWith" h={0} />

## struct

<JsDoc client:idle name="Pattern#struct" h={0} />

## mask

<JsDoc client:idle name="Pattern#mask" h={0} />

## reset

<JsDoc client:idle name="Pattern#reset" h={0} />

## restart

<JsDoc client:idle name="Pattern#restart" h={0} />

## hush

<JsDoc client:idle name="hush" h={0} />

## invert

<JsDoc client:idle name="invert" h={0} />

## pick

<JsDoc client:idle name="pick" h={0} />

## squeeze

<JsDoc client:idle name="squeeze" h={0} />

After Conditional Modifiers, let's see what [Accumulation Modifiers](/learn/accumulation) have to offer.
