struct InvalidArgumentsForOperator
extension InvalidArgumentsForOperator : Equatable, Sendable
The arguments for the operator are not valid.
-
Undocumented
Declaration
Swift
let `operator`: String
-
List of supplied arguments.
Declaration
Swift
let actual: [String]
-
List of allowed argument types. Each candidate is an array of strings representing the parameters. e.g. candidates = [[“Int”, “Int”], [“Double”, “Double”]], representing the operator supports parameters type array of (Int, Int) or (Double, Double).
Declaration
Swift
let candidates: [[String]]
-
The associated expression. Set null if the expression is not found.
Declaration
Swift
let expression: (any IdentifiableExpression)?
-
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: InvalidArgumentsForOperator, rhs: InvalidArgumentsForOperator) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.