commonMain.it.unibo.collektive.stdlib.results.FieldedResults.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stdlib-jvm Show documentation
Show all versions of stdlib-jvm Show documentation
DSL for Aggregate Computing in Kotlin
// This file is auto-generated by the Collektive code generator. Do not edit it manually.
@file:Suppress("all","ktlint")
package it.unibo.collektive.stdlib.results
import it.unibo.collektive.`field`.Field
import kotlin.Any
import kotlin.Boolean
import kotlin.Result
import kotlin.Suppress
import kotlin.Throwable
import kotlin.jvm.JvmName
public object FieldedResults {
@JvmName("exceptionOrNull_with_Field_of_Result_of_T_end_end")
public fun Field>.exceptionOrNull(): Field =
map { it.exceptionOrNull() }
@JvmName("getOrNull_with_Field_of_Result_of_T_end_end")
public fun Field>.getOrNull(): Field = map { it.getOrNull() }
@JvmName("isFailure_with_Field_of_Result_of_T_end_end")
public fun Field>.isFailure(): Field =
map { it.isFailure }
@JvmName("isSuccess_with_Field_of_Result_of_T_end_end")
public fun Field>.isSuccess(): Field =
map { it.isSuccess }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy