Skip to main content

MoveViewResult

MoveViewResult

struct MoveViewResult

The result of executing a Move View Function.

Execution errors are captured in the error field, in which case the results field will be None. On success, the results field will contain the return values of the Move view function, and the error field will be None.

init(error:results:)

init(error: String? = nil, results: [String]? = nil)

error

var error: String?

Execution error from executing the Move view function.

results

var results: [String]?

The return values of the Move view function, resolved and formatted as JSON.

!=(_:_:)

static func != (lhs: Self, rhs: Self) -> Bool

Returns a Boolean value indicating whether two values are not equal.

Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

  • Parameters:
    • lhs: A value to compare.
    • rhs: Another value to compare.