android-custom-lint-rules icon indicating copy to clipboard operation
android-custom-lint-rules copied to clipboard

How can I check that UVariable is nullable type?

Open Kolyall opened this issue 2 years ago • 0 comments

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

Kolyall avatar Nov 29 '23 19:11 Kolyall