fun TypedArray.getBooleanOrThrow(@StyleableRes index: Int): Boolean
Retrieve the boolean value for the attribute at index or throws IllegalArgumentException if not defined.
See Also
TypedArray.hasValue
TypedArray.getBoolean