Package-level declarations

Functions

Link copied to clipboard
inline fun <T> runResultCatching(block: () -> T): Result<T>
inline fun <T> runResultCatching(errorPtr: CPointer<ObjCObjectVar<NSError?>>? = null, block: () -> T): Result<T>

Executes a block of code and wraps the result in a Result.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Result.Failure.toCommonFailure(): Result.Failure
Link copied to clipboard
fun ImageRef.toCommonImageRef(): ImageRef?
Link copied to clipboard
fun <T> Result<T>.toCommonResult(): Result<T>
Link copied to clipboard
Link copied to clipboard
fun String?.toFileNSURL(): NSURL?
Link copied to clipboard
Link copied to clipboard
fun JsonObject.toJSONObject(): JSONObject