mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 09:57:00 +02:00
This patch introduces a new operator== to compare an Optional to its contained type directly. If the Optional does not contain a value, the comparison will always return false. This also adds a test case for the new behavior as well as comparison between Optional objects themselves.
2.0 KiB
2.0 KiB