<@U0G05L3TL>: you can’t check on `T` itself, it is...
# announcements
o
@arcnor: you can’t check on
T
itself, it is not a value. try this:
Copy code
when(T::class) {
   Float::class -> …
}
👍 1