toEither

internal fun UpdateSelfUserSupportedProtocolsResult.toEither(): Either<CoreFailure, Boolean>

Converts the result to an Either type for internal use.

Return

Either a CoreFailure or a Boolean indicating if the supported protocols were updated.