core.remove
Home > @medplum/core > remove
remove() function
The "remove" operation removes the value at the target location. The target location MUST exist for the operation to be successful.
Signature:
export declare function remove(object: any, operation: RemoveOperation, _options?: PatchOptions): MissingError | null;
Parameters
Parameter | Type | Description |
|---|---|---|
object | any | The object being patched. |
operation | The operation to perform on the object. | |
_options | (Optional) Optional params. |
Returns:
MissingError | null
null on success, or error if one occurred.