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
版本:5.4.1 建议:支持 Null-Safety 引用变量。
例如:a 为 null 时不会抛出空指针。
a
a?.b
2022-11 有小伙伴已经建议过。
The text was updated successfully, but these errors were encountered:
嗯,可以下个大版本支持下,看我春节有没有时间
Sorry, something went wrong.
这种写法也就是js中的可选链运算符(?.),建议实现是也实现空值合并运算符,也就是最后可??后跟一个默认值。如:let a= b?.c.d?.e ?? 10; 如果b或d或e不存在时,返回默认值10。
killme2008
No branches or pull requests
版本:5.4.1
建议:支持 Null-Safety 引用变量。
例如:
a
为 null 时不会抛出空指针。The text was updated successfully, but these errors were encountered: