Types.FileThe **`File`** interface provides information about files and allows JavaScript in a web page to access their content.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
type t = t_fileThe **`lastModified`** read-only property of the File interface provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight).
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified)
val last_modified : t -> floatThe **`name`** read-only property of the File interface returns the name of the file represented by a File object.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name)
The **`lastModified`** read-only property of the File interface provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight).
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified)
val name : t -> stringThe **`webkitRelativePath`** read-only property of the File interface contains a string which specifies the file's path relative to the directory selected by the user in an input element with its `webkitdirectory` attribute set.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File/webkitRelativePath)
The **`name`** read-only property of the File interface returns the name of the file represented by a File object.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name)
val webkit_relative_path : t -> stringThe **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size)
The **`webkitRelativePath`** read-only property of the File interface contains a string which specifies the file's path relative to the directory selected by the user in an input element with its `webkitdirectory` attribute set.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/File/webkitRelativePath)
val size : t -> floatThe **`type`** read-only property of the Blob interface returns the MIME type of the file.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type)
The **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size)
val type_ : t -> stringThe **`type`** read-only property of the Blob interface returns the MIME type of the file.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type)
val array_buffer : t -> unit -> t_array_buffer Js.Promise.tval bytes : t -> unit -> t_uint8_array Js.Promise.tval stream : t -> unit -> t_readable_streamval text : t -> unit -> string Js.Promise.t