toValidated

open fun toValidated(): Validated<R, A>(source)

fold the EagerEffect into an Validated. Where the shifted value R is mapped to Validated.Invalid, and result value A is mapped to Validated.Valid.