Saik0s
6/29/2016 - 10:06 AM

OneOf.swift

extension Equatable {
    func oneOf(other: Self...) -> Bool {
        return other.contains(self)
    }
}