Is there a way to use Sequence
as a type through an if statement? I wanted to do the following
if value is Sequence {
print("sequence")
}
But I get an error
Protocol 'Sequence' can only be used as a generic constraint because it has Self or associated type requirements
Is there some other way to check against Sequence?