kotlinx-serialization / kotlinx.serialization.builtins / AbstractDecoder / decodeBooleanElement

decodeBooleanElement

(common, js, jvm, native) fun decodeBooleanElement(descriptor: SerialDescriptor, index: Int): Boolean

Decodes a boolean value from the underlying input. The resulting value is associated with the descriptor element at the given index. The element at the given index should have PrimitiveKind.BOOLEAN kind.