Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.7.0 #101

Merged
merged 4 commits into from
Aug 14, 2024
Merged

Release/1.7.0 #101

merged 4 commits into from
Aug 14, 2024

Conversation

matheus-corregiari
Copy link
Owner

No description provided.

@matheus-corregiari matheus-corregiari merged commit 74ff8d1 into master Aug 14, 2024
22 checks passed
@matheus-corregiari matheus-corregiari deleted the release/1.7.0 branch August 14, 2024 19:06
*
* @return A [DataResult] with a pair of non-null values, or null if any value is null.
*/
fun <T, R> DataResult<Pair<T?, R?>>.toNotNull(): DataResult<Pair<T, R>>? = when (val data = data) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esse nome ficou estranho, devia ser um toNotEmpty também porque se o conteúdo for null ele volta null

* println(result) // Output: null
* ```
*/
fun <T, R> Pair<T?, R?>.toNotNull(): Pair<T, R>? =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mesma coisa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants