asBoolean

abstract val asBoolean: Boolean

Gets this value as a boolean primitive.

Throws an exception if this value doesn't represent a boolean primitive.