Amazon Vinyl
    Preparing search index...

    Class MutableValueImpl<T>

    Type Parameters

    • T

    Hierarchy

    • MutableValueBase<T>
      • MutableValueImpl
    Index
    • Gets the current value.

      Returns T

    • Creates a readonly sub-controller for a transformed value.

      Type Parameters

      • U

      Parameters

      • transform: (value: T) => U

        Applies a transformation to a single value using a provided function and returns the result. The returned sub controller will use this as its value.

      • OptionalsetData: Maybe<(transformed: U, original: T) => T>

      Returns MutableValue<U>

    • Sets the current value.

      Parameters

      • value: T

      Returns void