Open antfu opened 3 years ago
what you think about
import { chainReaction } from 'vue-chemistry'
const filterValue = ref(6);
const arr = chainReaction([1, 2, 3]).map((it) => it * 3).filter((it) => it > filterValue.value)
console.log(arr) // [9]
filterValue.value = 0
console.log(arr) // [3, 6, 9]
Support something like