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

getOrNull for Either #86

Open
radoslawsobies opened this issue Oct 13, 2021 · 1 comment
Open

getOrNull for Either #86

radoslawsobies opened this issue Oct 13, 2021 · 1 comment
Assignees

Comments

@radoslawsobies
Copy link

it would be nice to have getOrNull in Either class, similar to getOrdElse

@spebbe spebbe self-assigned this Oct 18, 2021
cranst0n added a commit to cranst0n/dartz that referenced this issue Jan 14, 2022
@jvsoaress
Copy link

@cranst0n i think that @radoslawsobies didnt mean to have it as a getter, but instead to be able to call it with .getOrNull(), am I right?
in case I'm right, I'd like to open a pr for that since this is my first time contributing to some project :)

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

No branches or pull requests

3 participants