(entity: any)
| 438 | if ("value" in id && id.value !== undefined && id.value !== null) { |
| 439 | return String(id.value); |
| 440 | } |
| 441 | if (typeof id.toString === "function") { |
| 442 | return id.toString(); |
| 443 | } |
| 444 | } |
| 445 | if (typeof id === "bigint") { |
| 446 | return id.toString(); |
| 447 | } |
| 448 | return String(id); |
| 449 | } |
no test coverage detected