@tempots/dom

Value variable

Signature:

Value: {
    map: (value: Value, fn: (value: T) => U) => Value;
    toSignal: (value: Value, equals?: (a: T, b: T) => boolean) => Signal;
    maybeToSignal: (value: Value | undefined | null, equals?: (a: T, b: T) => boolean) => Signal | undefined;
    get: (value: Value) => T;
    on: (value: Value, listener: (value: T) => void) => (() => void);
    dispose: (value: Value) => void;
}