Sets the value of the atom using a function.
(fn: (prevVal: T) => T)
| 633 | export interface Atom<T> extends BaseAtom<T> { |
| 634 | /** Sets the value of the atom using a function. */ |
| 635 | set(fn: (prevVal: T) => T): void; |
| 636 | /** Sets the value of the atom. */ |
| 637 | set(value: T): void; |
| 638 | } |
no outgoing calls