fold

inline fun <R> fold(onError: (AttestationResult.Error) -> R, onSuccess: (T, AttestationResult.Verified) -> R): R(source)