Skip to content
ExamplesOpen editor ↗

mofutaWaFaele

Reads the MIME major type.

mofutaWaFaele(faele)

Reads the file wrapper field without copying or mutation. For text/plain this is text; empty when the browser has no MIME type.

NameTypeDescription
faelefaelefile wrapper from file input or drop.
Reads the MIME major type.
tiro setaLoeto() {
  tlosaKanefase();
  bopaTsenyoYaFaele(f => kwala(mofutaWaFaele(f)));
}

bopaTemana, dirisaMoGo