Angular HAL Client - v1.0.0-dev.9
    Preparing search index...

    Function mutate

    • Returns an RxJS operator to clone a Resource and modify the cloned instance using the provided update function. It is equivalent to

      map(resource => resource.mutate(update))
      

      Type Parameters

      Parameters

      • update: (x: T) => void

        the update function to apply

      Returns OperatorFunction<T, T>

      a function that transforms the source Observable