struct AnyExpressionextension AnyExpression : Equatable, Expression, SendableTyped-erased Expression.
-
Undocumented
Declaration
Swift
func cast<T>(_ type: T.Type = T.self) -> T? where T : Expression -
Undocumented
Declaration
Swift
func `is`<T>(_ type: T.Type = T.self) -> Bool where T : Expression -
Returns true if the expressions are equal, false otherwise.
Declaration
Swift
func isEqual(to other: any Expression) -> Bool -
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (lhs: AnyExpression, rhs: AnyExpression) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.