Pattern: Use of non-boolean property with is
prefix
Issue: -
Reports when property with is
prefix doesn't have a boolean type.
Example of incorrect code:
val isEnabled: Int = 500
Example of correct code:
val isEnabled: Boolean = false
Pattern: Use of non-boolean property with is
prefix
Issue: -
Reports when property with is
prefix doesn't have a boolean type.
Example of incorrect code:
val isEnabled: Int = 500
Example of correct code:
val isEnabled: Boolean = false