enum BehaviorID
extension BehaviorID : Equatable, Sendable
The ID of a behavior, which can be a command, event or trait.
-
The id of a command.
Declaration
Swift
case command(id: String)
-
The id of an event.
Declaration
Swift
case event(id: String)
-
The id of a trait.
Declaration
Swift
case trait(id: String)
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (lhs: BehaviorID, rhs: BehaviorID) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.