Default

class Default<T>(t: T) : SafeWrapper<T>

Constructors

Link copied to clipboard
constructor(t: T)

Functions

Link copied to clipboard
open fun <R> safe(block: T.() -> R): Result<R>
Link copied to clipboard
open suspend fun <R> safeS(block: suspend T.() -> R): Result<R>
Link copied to clipboard
open fun <R> unsafe(block: T.() -> R): R
Link copied to clipboard
open suspend fun <R> unsafeS(block: suspend T.() -> R): R
Link copied to clipboard
open override fun unsafeTarget(): T