Has anyone tried to make null as a function? In Julia, there is a `get(null::Function, collection, key)` method which can be used in a syntax:
value = get(collection, key) do
error(“$key in the collection not found”)
endThis syntax has captivated my attention lately as it seems like a viable alternative to doing an explicit null check before using the value.