Optional
carryStrategy for carrying every toggle-OFF
or split
value.
Optional
carryStrategy for carrying every toggle-ON
value.
It is used only when in toggle
mode.
Optional
toggleChanges what the split
callback result represents.
By default, it signals when we find a split value.
This option changes that into a toggle
logic:
We start collecting values into a new list when the callback returns true
one time, and we stop collecting values when it returns true the next time.
And we do so repeatedly, skipping values outside [true, ..., true]
toggles.
Set of options that can be passed into split operator.