Does Julia have a built-in function akin to the following?
replace_nothing(given,default) = given
replace_nothing(::Nothing, default) = default
Does Julia have a built-in function akin to the following?
replace_nothing(given,default) = given
replace_nothing(::Nothing, default) = default
something
Right, I remember seeing this one at some point. Thanks for the speedy reply!