// Either returns true if current AddressFamily matches any of the AddressFamilies provided.
Either returns true if current AddressFamily matches any of the AddressFamilies provided.
// Either returns true if current AddressFamily matches any of the AddressFamilies provided .
func (af AddressFamily) Either(fs ...AddressFamily) bool {
	for _, f := range fs {
		if af == f {
			return true
		}
	}
	return false
}
func ( af AddressFamily ) Either ( fs ... AddressFamily ) bool { for _ , f := range fs { if af == f { return true } } return false }
Either returns true if current AddressFamily matches any of the AddressFamilies provided.
Either returns true if current AddressFamily matches any of the AddressFamilies provided .