MultiContentType

data class MultiContentType(val types: List<ContentType>)

Represents multiple content types. This is useful for functions that can be applied to multiple content types at a time (mostly for the sake of concision).

Constructors

Link copied to clipboard
fun MultiContentType(types: List<ContentType>)

Functions

Link copied to clipboard
infix fun or(other: ContentType): MultiContentType

Combines this multi content type with an additional content type

Properties

Link copied to clipboard
val types: List<ContentType>

The content types that this represents.