Module Webapi.File

type t = Fetch.file;

Blob superclass

include { ... };
let arrayBuffer: t => Js.Promise.t(Js.Typed_array.ArrayBuffer.t);
let size: t => float;
let slice: ?⁠start:int => ?⁠end_:int => ?⁠contentType:string => t => t;
let stream: t => Webapi__ReadableStream.t;
let text: t => Js.Promise.t(string);
let type_: t => string;
let _type: t => string;

File class

let lastModified: t => float;
since
0.18.0
let name: t => string;
let preview: t => string;