We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
try?
else
return
Describe the bug
Probably related to: #1247 ?
To Reproduce
getCorrectVersion: function [versionString][ try? [ return to :version versionString ] else [ try? [ return to :version strip replace versionString "v" "" ] else [ return null ] ] ] getCorrectVersion "v0.9.83" ; returns `null`
This returns null no matter what.
null
However, this works:
getCorrectVersion: function [versionString][ try? [ to :version versionString ] else [ try? [ to :version strip replace versionString "v" "" ] else [ null ] ] ] getCorrectVersion "v0.9.83" ; returns `0.9.83` (:version)
The text was updated successfully, but these errors were encountered:
Well, there is no try? anymore. @drkameleon
Sorry, something went wrong.
drkameleon
No branches or pull requests
Describe the bug
Probably related to: #1247 ?
To Reproduce
This returns
null
no matter what.However, this works:
The text was updated successfully, but these errors were encountered: