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

How can I check that UVariable is nullable type? #86

Open
Kolyall opened this issue Nov 29, 2023 · 0 comments
Open

How can I check that UVariable is nullable type? #86

Kolyall opened this issue Nov 29, 2023 · 0 comments

Comments

@Kolyall
Copy link

Kolyall commented Nov 29, 2023

I didnt find an answer for the question in the doc (https://googlesamples.github.io/android-custom-lint-rules/)
I want to check that variable is nullable type. For example:
an fun for UVariable:

fun isNullable(uVariable: UVariable): Boolean {
}

for var value: Strings should return false
for var value: Strings? should return true

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

1 participant