(value: any)
| 452 | itemId === undefined || itemId === null ? undefined : String(itemId).trim() || undefined |
| 453 | |
| 454 | const coerceBoolean = (value: any) => { |
| 455 | if (typeof value === 'boolean') return value |
| 456 | if (typeof value === 'string') return value.toLowerCase() === 'true' |
| 457 | return undefined |
| 458 | } |
| 459 | |
| 460 | if (others.operation === 'update_list' || others.operation === 'add_list_items') { |
| 461 | try { |