PriceLevel
enum PriceLevel
extension PriceLevel : CaseIterable, Equatable, Hashable, Identifiable
The price level of a place.
-
Place price level is unspecified or unknown.
Declaration
Swift
case unspecified
-
Place provides free services.
Declaration
Swift
case free
-
Place provides inexpensive services.
Declaration
Swift
case inexpensive
-
Place provides moderately priced services.
Declaration
Swift
case moderate
-
Place provides expensive services.
Declaration
Swift
case expensive
-
Place provides very expensive services.
Declaration
Swift
case veryExpensive
-
The stable identity of the entity associated with this instance.
Declaration
Swift
var id: PriceLevel { get }
-
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values
a
andb
,a != b
implies thata == b
isfalse
.This is the default implementation of the not-equal-to operator (
!=
) for any type that conforms toEquatable
.Declaration
Swift
static func != (lhs: Self, rhs: Self) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.