Result

extension Result: Arbitrary where Success: Arbitrary, Failure: Arbitrary

Available where Success: Arbitrary, Failure: Arbitrary

  • A generator of Results where Success and Failure conform to Arbitrary

    Declaration

    Swift

    public static var arbitrary: Gen<Result<Success, Failure>> { get }