ok

Returns a Success for the ok status code.

Author

Jan Müller

Parameters

data
The data of the Result.
T
The type of the Result.
fun <T : Any> ok(data: T): Result.Success<T>