This .split-s a Signal of an Either by the Either's isRight property. If you want a different key, use the .splitOne operator directly.
This .split-s a Signal of an Either by the Either's isRight property. If you want a different key, use the .splitOne operator directly.
Value parameters
left
(initialLeft, signalOfLeftValues) => output left is called whenever parent signal switches from Right() to Left(). signalOfLeftValues starts with initialLeft value, and updates when the parent signal updates from Left(a) to Left(b).
right
(initialRight, signalOfRightValues) => output right is called whenever parent signal switches from Left() to Right(). signalOfRightValues starts with initialRight value, and updates when the parent signal updates from Right(a) toRight(b)`.