79408375

Date: 2025-02-03 09:54:53
Score: 2
Natty:
Report link

A bit strange what you are asking, or better what you state as expected result. The id value is used to check if it exists. If the value does not exist, you expect that the system returns it anyway?

If you try to test if a value exists and apply some logic in function of the boolean result, there are multiple ways to handle this:

It all depends on what you are actually trying to do.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: bthijs