mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-06 17:32:23 -04:00
11 lines
235 B
C++
11 lines
235 B
C++
#pragma once
|
|
|
|
namespace randomizer::utility::general
|
|
{
|
|
template<typename First, typename... T>
|
|
bool IsAnyOf(First&& first, T&&... t)
|
|
{
|
|
return ((first == t) || ...);
|
|
}
|
|
} // namespace randomizer::utility::general
|