• Type Parameters

    • T

    Parameters

    • data: T[]
    • partialEntry: Partial<T>
    • findMethod: ((entry: T) => boolean)
        • (entry): boolean
        • Parameters

          • entry: T

          Returns boolean

    Returns T[]

    partialUpdateFrozenArray

    • Creates a RxJS Observable from RxJS Subject.
    const partialEntry = {value: 'myValue'};
    const newDataSet = partialUpdateFrozenArray(myState.getValue(), partialEntry, x => x.key === 'myKey');
    myState.setValue(newDataSet);
""