Avatar
omochimetaru 8/8/2019 9:15 AM
func f(_ x: Any) -> (A & P)? { return x as? A & P }
9:16 AM
静的なら&付きprotocolのas自体は書ける。