folly::is_detected_v

A trait variable to test whether a metafunction succeeds in substitution.

Synopsis

Declared in <folly/Traits.h>

template<
    template<typename...> typename T,
    typename... A>
inline constexpr bool is_detected_v = detected_or<nonesuch, T, A...>::value_t::value;