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

Optional value - Elvis Operator #19

Open
igordeoliveirasa opened this issue Sep 28, 2017 · 1 comment · May be fixed by #49
Open

Optional value - Elvis Operator #19

igordeoliveirasa opened this issue Sep 28, 2017 · 1 comment · May be fixed by #49

Comments

@igordeoliveirasa
Copy link

Hi,

How could I pass an instruction which uses Elvis Operator? Example:

try await(myObject?.myPromiseMethod())

Thanks.

@yannickl
Copy link
Owner

yannickl commented Oct 1, 2017

For the moment there is no way to do that except that unwrap the optional before to call the method.

@WilsonGramer WilsonGramer linked a pull request Oct 26, 2019 that will close this issue
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 a pull request may close this issue.

2 participants