core.ismedicationcartmanageresponse | Medplum
isMedicationCartManageResponse() function
Type guard: validates a cart-management bot response.
Signature:
export declare function isMedicationCartManageResponse(value: unknown): value is MedicationCartManageResponse;
Parameters
| Parameter | Type | Description |
|---|---|---|
| value | unknown | Unknown bot JSON payload. |
Returns:
value is MedicationCartManageResponse
True when the value matches MedicationCartManageResponse.