@tempots/dom

Prop.update property

Updates the value of the signal by applying the provided function to the current value.

Signature:

readonly update: (fn: (value: T) => T) => void;