Closed niazoff closed 5 years ago
Mimics the simple guard statement in Swift. Useful for verifying a condition of the future before moving forward.
guard
Example usage:
.guard({ order.userID == user.id }, else: AccessError.unauthorized)
///
Hey @niazoff, you just merged a pull request, have a coin!
You now have 1 coins.
Mimics the simple
guard
statement in Swift. Useful for verifying a condition of the future before moving forward.Example usage:
Checklist
///
.