#capture union arm check
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
I thought this used to work
if (@typeInfo(T) == .Array) |Arr| {
_ = Arr;
// same as doing @typeInfo(T).Array
}
Never been a thing 🙂
Yep, I don't recall this ever working either
Unless you mean unwrapping an optional perhaps?
no i know optionals are different