Hi. Is it weird or bad in any way to use an Either...
# arrow
h
Hi. Is it weird or bad in any way to use an Either<Error, Unit> to validate some condition? For example “checkUserIsOldEnough(user: User): Either<Error, Unit>“. Is there a better suited way, when we don’t need the “Right” path?