MimeTypeArray

abstract external class MimeTypeArray : 
    ItemArrayLike<MimeType>
(source)

Platform and version requirements: JS

Exposes the JavaScript MimeTypeArray to Kotlin

Constructors

<init>

MimeTypeArray()

Exposes the JavaScript MimeTypeArray to Kotlin

Properties

length

open val length: Int

Functions

item

open fun item(index: Int): MimeType?

namedItem

fun namedItem(name: String): MimeType?

Extension Functions

asList

fun <T> ItemArrayLike<T>.asList(): List<T>

Returns the view of this ItemArrayLike<T> collection as List<T>

get

operator fun MimeTypeArray.get(index: Int): MimeType?
operator fun MimeTypeArray.get(name: String): MimeType?