Mjolnir Core
Core functionality of the Mjolnir API

◆ is_any_of()

consteval auto is_any_of ( ) -> bool
noexcept

Return true if the tested type is identical to any of a list of types.

The first template parameter is the type that should be tested. All additional types passed as template parameters are compared to the first one. If any of them is identical, the function returns true. If no match is found, false is returned.

Template Parameters
T_TypeThe type that should be compared against a list of other types
T_OtherTypeThe first item inside the list of types thar should be compared to T_Type
T_TypeListAn arbitrary number of additional types that should be compared to T_Type
Returns
true if T_Type is identical to T_OtherType or any of the types in T_TypeList and false otherwise.