All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.it.unibo.collektive.stdlib.results.FieldedResults.kt Maven / Gradle / Ivy

There is a newer version: 11.1.3
Show newest version
// 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