• Type Parameters

    • T

    Parameters

    • initialValue: T

      Initial value of the observable.

    • Optional validator: ObservableValidator<T>

      Optional validator to use for the setter.

      Optional

    Returns IObservable<T>

    Remarks

    Creates an observable object that stores a value state.