struct Not
extension Not : Equatable, Expression, Identifiable, IdentifiableExpression, Sendable, UnaryExpression
The logical NOT operator which evaluates to true
when operand
is false
.
-
String identifier of the expression. Must be unique within a single automation graph.
Declaration
Swift
let id: String
-
Undocumented
Declaration
Swift
let operand: any Expression
-
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: Not, rhs: Not) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Returns true if the expressions are equal, false otherwise.
Declaration
Swift
func isEqual(to other: any Expression) -> Bool