toValidated

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

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

Sources

common source
Link copied to clipboard