| using kumi::function::element_or_t = std::remove_cvref_t<decltype(kumi::function::get_or<I>(std::declval<T>(), std::declval<U>()))> |
#include <kumi/functional/monadic.hpp>
If T is a kumi::product_type and I is within it's size, returns element_t<I,T>, returns U otherwise.
| I | Index of the type to retrieve |
| T | type to access |
| U | fallback type |