I'm using length in the grantResult in a conditional, but I'm booting error.
The IntArray
class does not have the length
property, so you must use size
to get the number of elements in the array.
You can review more information about the class at the following link: