liftSignal

G
W

"Lifts" methods from a signal's value to the signal itself just by passing a tuple of method names. The lifted methods should be those appropriate for mutating or updating the value. For example, lifting Array.push will add a method called push to the signal. Calling the push method will internally call signal.update() with a function that executes the push and returns the updated signal.

Lift methods from an array directly to signal