Summary
struct Summary
extension Result.Summary: Equatable
The summary of a validation result.
-
[Error]
if the validation result is.failure
,nil
otherwise.Declaration
Swift
public private(set) var errors: [Error] { get }
-
The number of failing constraints for a
.failure
result,0
otherwise.Declaration
Swift
public var failingConstraints: Int { get }
-
true
if the validation result is.failure
,false
otherwise.Declaration
Swift
public var hasFailingContraints: Bool { get }