Files
pkl/stdlib
Jen Basch 85e4f133a4 Add getOrDefault method to Listing and Mapping (#1053)
This PR adds methods to Listing and Mapping that can be used to retrieve members. If the member for the index/key isn't present, it applies default to the index/key. In both cases, this is essentially sugar for getOrNull(<index/key>) ?? default.apply(<index/key>).

Co-authored-by: Daniel Chao <daniel.h.chao@gmail.com>
2025-07-22 15:45:49 -07:00
..
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2024-02-01 14:00:22 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2024-10-17 09:12:07 -07:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00
2025-02-26 09:48:20 -08:00