• Type Parameters

    • T

    Parameters

    • data: T[]

      RxJS Subject to use for this Observable.

    • filterMethod: ((entry: T) => boolean)

      Method to filter the array.

        • (entry): boolean
        • Parameters

          • entry: T

          Returns boolean

    Returns T[]

    filterFrozenArray

    • Creates a RxJS Observable from RxJS Subject.
    const newDataSet = filterFrozenArray(myState.getValue(), x => x.id !== "myKey");
    myState.setValue(newDataSet);
""