task_id_eq
Return true if task id equals task_id'.
def task_id_eq(
task_id: string,
body: dict,
message: any
) - > boolean
Return true if task id equals task_id'.
Parameters
| Name | Type | Description |
|---|---|---|
| task_id | string | The unique identifier of the task to compare against |
| body | dict | The dictionary object containing task metadata, expected to have an 'id' key |
| message | any | The message context or metadata associated with the task, though currently unused in the comparison |
Returns
| Type | Description |
|---|---|
boolean | True if the 'id' field in the body dictionary matches the provided task_id, otherwise False |