Expand description
Source: Analysis/include/Luau/Type.h:1077-1087 (hand-ported)
Functions§
- is
- C++
template<typename... Ts, typename T> bool is(T&& tv)— tests whethertv’s variant holds any ofTs...(get<Ts>(tv) || ...). The Rust port resolves variant membership per-type viamatch/get-if traits, so every caller is monomorphized to a concrete predicate; this unbounded template generic overTypehas no call site.