kotlin-stdlib / kotlin / Result / success success Common JVM JS Native 1.0 @JvmName("success") fun <T> success(value: T): Result<T>(source) Returns an instance that encapsulates the given value as successful value.