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
constructor(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

The content types that this represents.