Introduction
Nullable types let a function accept either a specific type or null. This helps when a value might be missing or optional.
When a function parameter can be a number or no value at all.
When a function should return a string or nothing (null).
When you want to clearly say a value can be empty or a certain type.
When working with optional settings or inputs in your code.